David from Kodaps
1y ago
The 3 best projects to start learning React (IMHO):
• React.dev's TicTacToe tutorial (basics & state management)
• Weather App: Fetch, useEffect
• Quiz App with multiple questions & counter (forms, useRef, context & reducers)
Why these? Allow me to explain:
1/5
David from Kodaps
1y ago
1/ React.dev's TicTacToe tutorial gives you React state management from the horse's mouth.
You build a game AND learn the mistakes to avoid.
It was my first steps in the React world, in 2019, and it was fun. So start with TicTacToe: https://react.dev/learn/tutorial-tic-tac-toe
2/5
David from Kodaps
1y ago
2/ The next step is to master useEffect and interacting with the outside world. i.e. fetching data from APIs.
So fetch the weather, & update the interface with the result.
NB: Using APIs opens up a world of possibilities. Including AI capabilities.
3/5
David from Kodaps
1y ago
3/ The next step is learning Context and Reducers.
For this I recommend building a multi part quiz, with a score & timer.
• Use the context to keep the score & game state.
• Use useRef for the timer.
• Bonus points if you find a way to create a custom hook.
4/5
David from Kodaps
1y ago
Let me know what you would recommend or want to build!
5/5