Thursday, January 28, 2021
Monday, January 25, 2021
React Hooks - How does React associate Hook calls with components?
You might be curious how React knows which component useState corresponds to since we’re not passing anything like this back to React.
https://reactjs.org/docs/hooks-faq.html#how-does-react-associate-hook-calls-with-components
Friday, January 22, 2021
Monday, January 18, 2021
Sunday, January 10, 2021
Wednesday, January 6, 2021
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.