Wednesday, January 6, 2021

OPTIMIZE YOUR REDUX SELECTORS WITH USESELECTOR HOOK AND MEMOIZE THEM WITH RESELECT – PART 1

 https://programmerden.com/2020/04/06/optimize-your-redux-selectors-with-useselector-hook-and-memoize-them-with-reselect/

React related - React Query

https://www.reddit.com/r/reactjs/comments/krezz4/redux_context_api_and_react_query/ 

You can fetch data and store it in Redux, but it wasn't purpose-built for that use case. So (as of right now) you have to write most of the fetching and updating code yourself. React-Query, on the other hand, is entirely built to simplify the process of fetching data and caching it, and it's built to take advantage of React hooks. So, if the only thing you're doing is data fetching, React-Query is going to make that a lot simpler.

Followers

Blog Archive