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
Sometimes we use selectors to drive some state from the store, but if the output value is a reference type, it will result in a new reference each time it is returned.
e.g.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Sometimes we use selectors to drive some state from the store, but if the output value is a reference type, it will result in a new reference each time it is returned.
e.g.
now i use
reselect
in my project, like that:here is full demo
Beta Was this translation helpful? Give feedback.
All reactions