Our great sponsors
- Appwrite - The open-source backend cloud platform
- InfluxDB - Collect and Analyze Billions of Data Points in Real Time
- Onboard AI - Learn any GitHub repo in 59 seconds
-
Also, I'm happy to chat about how to handle the migration! I've been doing a lot of that work myself over in https://github.com/replayio/devtools - you can see a lot of the PRs I've merged have been about migrating React+Redux to RTK and TS. Best place to chat would be the #redux channel over in the Reactiflux Discord ( https://www.reactiflux.com ).
-
We normally recommend that people should start with the "Redux Essentials" tutorial, which shows how to use Redux Toolkit as the standard approach. There's also the "Redux Fundamentals" tutorial, which teaches how it all works from the bottom up. But, both of them explain what useSelector is and how to use it.
-
Appwrite
Appwrite - The open-source backend cloud platform. Add Auth, Databases, Functions, and Storage to your product and build any application at any scale while using your preferred coding languages and tools.
-
If you've only been looking at https://redux-toolkit.js.org , yeah, that doesn't talk about useSelector at all, for a couple reasons. RTK itself doesn't have anything to do with React, except for RTKQ hooks. And, all the actual "tutorials" are in the main Redux docs site , at https://redux.js.org/tutorials/index . That's where we teach you about useSelector.
-
Redux core library, and general Redux tutorials and usage: https://redux.js.org
-
React-Redux API reference and usage: https://react-redux.js.org
-
Ah, yeah, don't use the main existing React docs at https://reactjs.org. Those are definitely outdated at this point.
Related posts
- Mastering React Interview: Top Common Questions and Best Practices
- What is the correct way to store a variable so that It is accessible to all components/pages?
- Use Redux to Manage Authenticated State in a React App
- Introducing The FAR3 Stack: A Versatile Toolkit For Web Development.
- Do I need old Redux.