DEV Community

Discussion on: How To Learn React in 2021: The 7 Skills You Need To Know

empz profile image
Emiliano Parizzi

Step 5: Do not go for Redux just because is popular. In 2021 we have way better options for server data (which is very different than UI state). Use react-query or swr for remote data. It's way simpler and better than Redux.
For UI state, local setState + context (abstracted inside a custom hook) is usually enough for most apps.