question how refresh works #380
kangaroolab
started this conversation in
General
Replies: 2 comments 1 reply
-
Your code refresh together you can change it to return div(
div("static content"),
div(variable)
// or
() => div(variable.val)
// or
div(() => variable.val)
) and the static part will not be refresh |
Beta Was this translation helpful? Give feedback.
0 replies
-
thanks... is div(variable.val) same as div(variable)? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
if I have a code like below where I have static content and dynamic content, doe vanjs refresh them every time together or only refresh the dynamic party?
if I like to not refresh static content, do I have to separate it out?
Beta Was this translation helpful? Give feedback.
All reactions