Learning React goes best in layers. Solid JavaScript comes first: functions, arrays, objects, modules and asynchronous code. Then the core of React: components, JSX, props, state and rendering lists and conditions. After that come effects, refs, context and custom hooks, followed by TypeScript, which most professional React code uses.
Only then add a framework such as Next.js, plus data fetching, forms and testing. The official documentation at react.dev teaches modern React with function components and is the best starting point. Build small projects at every stage instead of only following tutorials.



