How to force a re-render, or how to control the timing of re-render? #5789
Unanswered
mikeycoxon
asked this question in
Q&A
Replies: 1 comment 1 reply
-
It’s a react component. React triggers the rendering. |
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
-
I have seen where you can pass your own render methods, such as here:
But how do you force a rerender when you programmatically add something, actually, better yet, what is it that actually triggers rerendering?
I've noticed that re-rendering doesn't seem to happen when:
It may be that the browser reload case, causes the rendering to occur before there is any data, but that still provokes the question of what is the trigger, and is there any way of controlling it, or making it re-render?
Beta Was this translation helpful? Give feedback.
All reactions