I have been trying to master Javascript in order to be a React developer. But how hard I try it's still unachievable. I don't know what to do? Should I focus more on basics and syntax or level-up building React projects?
If you have any other suggestions please feel free to share.
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (2)
Hey @sudeep_s_304345616825d747 , if you want to get mastery in JavaScript, I would like to give you a few guidelines:
First, understand basic JavaScript (if statements, loops, data types, built-in methods for Array, Date, Math, String, etc.).
Move on to advanced JavaScript (ES6) concepts like Asynchronous programming (promises, async/await), Destructuring, Spread/Rest Operators, and import/export module patterns. Practice some advanced methods like
.map
,.filter
,.reduce
,.find
, etc.Explore hoisting, closures, callbacks, event loops, etc.
After that, decide whether you want to focus on Frontend or Backend.
I would suggest picking one at a time, rather than trying both at once.
If you choose Frontend, then explore the DOM concepts, their properties and methods, and also look into the Browser Web APIs like Web Storage (cookies, localStorage, sessionStorage, and if you want to go further, indexDB), Fetch API, etc.
For more details, refer to MDN: developer.mozilla.org/en-US/docs/L... or javascript.info/, whichever you prefer.
Build some small projects using only JavaScript.
Once you gain some confidence, you can dive into libraries and frameworks like React, Angular, Vue, etc.
JavaScript is the key to any library or framework. If you have a good understanding of JavaScript, you can easily adopt any library or framework.
And the Last one Read about some javascript daily from anywhere or MDN or javascript.info/
If you have any doubts please let me know. Thanks
Thanks for sharing. I will try to follow these steps in my journey.