You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wonder if call is called after the update, and then inside there's a second el.update.
For the withProviderValue test, i put console.log all all stages, i got the following,
...set value
render
constructor
update
_subscribe
value 3
call
_subscribe
value 3
render
update
call
teardown
I'm convinced that the effect does trigger second render which calls to subscribe again. Could you share a bit insight on what is the reason to add that extra effect ? thank you.
The text was updated successfully, but these errors were encountered:
just curious if this is true when consumer component is displayed, it'll render twice ?
The reason i'm having this question is that by reading
I wonder if
call
is called after the update, and then inside there's a secondel.update
.For the
withProviderValue
test, i put console.log all all stages, i got the following,I'm convinced that the
effect
does trigger second render which calls to subscribe again. Could you share a bit insight on what is the reason to add that extraeffect
? thank you.The text was updated successfully, but these errors were encountered: