How do i learn correctly?

I'm currently trying to learn react. I know building small projects is the best way to learn. But say i want to teach myself how to make a to-do app in react. Would it be smart to just google everything until im done? I have absolutely no idea where to start making a todo app. Any tips? Thanks!!
4 Replies
Matvey
Matvey16mo ago
ChatGPT is very good at explaining the basics Split the project into small problems and google them one by one. For example, for a todo app: - How can I initialize a react project (Don't use Create-react-app, use Vite) - How can I render a list of tasks - How I can make a form to add a task to the list - How to remove an item from the list - How to style the app - How to save the list to the persistent storage, so they don't reset when you reload the page
chaeriz
chaerizOP16mo ago
Thanks! Is there a reason why i should use vite? (i started this project exactly with create-react-app lol)
Matvey
Matvey16mo ago
create-react-app uses old webpack bundler, vite is more modern, a lot faster and easier to configure.
cje
cje16mo ago
sure vite is better but dont sweat the details just build a working todo app
Want results from more Discord servers?
Add your server