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've seen people do that several times. It's an easy mistake to make because <Provider>'s hot reloading capabilities also mean you can replace store at any time with a new object, and it'll transfer the state behind the scenes.
However this is wasteful performance-wise and can lead to weird issues. Can we somehow prevent people from creating the store inside render method?
The text was updated successfully, but these errors were encountered:
I've seen people do that several times. It's an easy mistake to make because
<Provider>
's hot reloading capabilities also mean you can replacestore
at any time with a new object, and it'll transfer the state behind the scenes.However this is wasteful performance-wise and can lead to weird issues. Can we somehow prevent people from creating the store inside
render
method?The text was updated successfully, but these errors were encountered: