DEV Community


What should you know before learning React?

avirupdutta profile image Avirup Dutta ・1 min read

React is currently "The most popular" frontend JavaScript library to develop single page applications. You can assume it to be the king of all JS libraries in the entire world πŸ‘‘

​​​​​​Thus, learning React in 2020 can be one of the most valuable skillset that one can develop. If you're a full-stack or even a frontend developer then you SHOULD learn React.

But learning React can be a little daunting if you're just getting started with it. There are a few prerequisites that you must have before you jump into learning React βš›οΈ

I have shortlisted almost all the prerequisites that will get you started with React in no time once you master them:-

πŸ‘‰ Using of 'let' and 'const' keywords.

πŸ‘‰ Arrow functions (i.e assigning functions to variables).

πŸ‘‰ Callback functions.

πŸ‘‰ Higher order functions.

πŸ‘‰ Use of forEach(), map(), filter (), reduce (), bind() and other built-in handy functions.

πŸ‘‰ Creating objects using classes.

πŸ‘‰ Spread syntax and destructuring.

By this moment you'll feel confident enough to work with larger code bases and you can definitely start learning React. But I'll recommend you to learn these few more concepts and then you'll be πŸ’―% ready to learn React:-​

πŸ‘‰ Asynchronousnous coding with promises and async-await keywords.

πŸ‘‰ Fetching data from API with fetch().

And that's all you need to get started with React πŸ€—

Discussion (0)

Editor guide