Re:Architecting UIs for Change
by Volrath89 on Saturday March 23, 2019 @10:00AM
(#19470470)
What would be the difference (if any) from the selector concept presented in the article vs the reducer pattern in redux?
[ Parent
| on HN ]
The reducer persists the state in the store, the selector projects the store.
Re:Architecting UIs for Change
by HenrikJoreteg on Saturday March 23, 2019 @11:09AM
(#19470747)
Another way to put it selectors are a particular view of the data that's in the store.