Basics are building blocks

Today I am trying to learn socket.io for my new project, which is a chat app in the MERN stack. I have recently finished the MERN stack and made around 3 to 4 full-stack projects.

But I am still having difficulty understanding how states in React work. I am not able to understand how React works properly under the hood, and I know that my basics are really weak in React.js.

I watched a video to learn React.js from the basics, and I realized my JavaScript basics are really weak (I don't really know how DOM manipulation works). So, I understood that I need to learn JavaScript DOM manipulation properly, do 2 to 3 projects in JavaScript, and then strengthen my React.js fundamentals.

I want to let you all know to never skip the basics. Nowadays, people are more fascinated by big projects and are desperate to make them and add them to their resumes. But let me tell you one thing you will never understand the underlying workings of the project if your basics are weak.

This is the best advice I can give you. After you strengthen your basics, you will start grasping things, eventually be able to build projects, and understand the flow of code.