Component rendered multiple times on initial fetch? #401
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
axhamre
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.
-
On initial request ('get'), the component is re-rendered 4 times for
loading
state and then another 4 times when thedata
is at hand.I'm using the simplest possible setup (taken from the basic example).
What could be the reason for the multiple re-rendering? And is there any way to prevent it?
Beta Was this translation helpful? Give feedback.
All reactions