Hacker News new | past | comments | ask | show | jobs | submit login

What would be the difference (if any) from the selector concept presented in the article vs the reducer pattern in redux?



The reducer persists the state in the store, the selector projects the store.


Another way to put it selectors are a particular view of the data that's in the store.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: