DEV Community

Avirup Dutta
Avirup Dutta

Posted on

5 2

What should you know before learning React?

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 πŸ€—

πŸ‘‹ While you are here

Reinvent your career. Join DEV.

It takes one minute and is worth it for your career.

Get started

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

πŸ‘‹ Kindness is contagious

Dive into an ocean of knowledge with this thought-provoking post, revered deeply within the supportive DEV Community. Developers of all levels are welcome to join and enhance our collective intelligence.

Saying a simple "thank you" can brighten someone's day. Share your gratitude in the comments below!

On DEV, sharing ideas eases our path and fortifies our community connections. Found this helpful? Sending a quick thanks to the author can be profoundly valued.

Okay