How to learn React - The Effective way (2024)

How to learn React - The Effective way (1)

How to learn React - The Effective way (2)

Shaan Alam

Posted on • Updated on

How to learn React - The Effective way (3) How to learn React - The Effective way (4) How to learn React - The Effective way (5) How to learn React - The Effective way (6) How to learn React - The Effective way (7)

What is React?

React is a free and Open Source Front End JavaScript Library for building complex User Interfaces by dividing your application into smaller components. It is maintained by Facebook and a community of Developers.

Pre-requisites for learning React

Before learning React or trying to learn React, I would say to familiarize yourself with HTML, CSS, & JavaScript.You can learn HTML and CSS within 2-3 weeks as they are used for creating layouts for your web application. JavaScript takes some time to lean as it is a programming language. Spend at least a month or two learning JavaScript. Don't just learn and learn, but also create small projects to implement the knowledge that you have gained. You can create some mini projects like To-Do Lists, Calculator, Random Jokes Generator etc.

JavaScript

While learning JavaScript, you have to avoid some mistakes that I made. When I was learning JavaScript, I thought that I have to become a absolute master of JavaScript to write React code (which is non-sense). I started learning advanced concepts (as a beginner), failing which, I thought I am not good enough. But, let me tell you, as a beginner you need to learn just enough ,so that you can create basic projects in vanilla JavaScript. Some topic to learn and understand deeply are

  • Variables
  • if/else conditions and switch statements
  • Difference between var, let & const
  • Functions
  • Arrays
  • Array methods like filter, map, reduce etc.
  • ES6 Concepts
  • Promises
  • Callbacks
  • Async/await
  • Classes and OOPs Concepts
  • Working with APIsAgain, don't just learn, APPLY!!

React

At this point of time, when you have learned JavaScript essentials, it is time for you to dive into React. You can start learning React by taking a look at React Official Docs or by taking their React Official Tutorial to get some idea of how React works. React Docs are very well written covering the fundamentals of React. Learn these topics very well to understand React fundamentally.

  • JSX
  • Components (Functional and Class based)
  • Lifecycle Methods
  • State
  • Props
  • Handling events
  • Forms
  • Conditional Rendering
  • Working with third-party APIs.Once you have gained understanding of these topics, it is time for you to create projects in order to implement them. You can create new projects or the remake the ones you made while learning vanilla JavaScript using React.

React Router

Learn about React router. React router is a routing library for react which will help you to navigate through different pages in your React App. Learn about loading specific page's content, passing params in the URL, redirecting etc. Also, understand that react router is not a part of React, it's a routing library made for React.

Advanced React

Now, that you have basic React knowledge and also created some basic projects, it is time to learn some advanced concepts like Hooks, Context etc. Take a look at React Docs and learn these concepts.

  • Context
  • Hooks
  • Error Boundaries
  • Higher Order Components
  • Code Splitting
  • Refs
  • Forwarding Refs
  • Render props

Some extra stuff!

You can also learn some extra libraries like Material UI, reactstrap, tailwindcss, Semantic UI etc, once you have learned the basics of React. These libraries will help you in your day-to-day React Dev life. However, it is not compulsory to learn everything, you can try and learn them once you are done with React basics and can make projects.

Congratulations 🥳

You are a React Developer. Now you just have to hone you skills by creating projects and visiting React Docs often and learning new things.

Some resources to learn React -

Some useful tips

  • Don't try to learn everything at once, understand and accept the fact that you a beginner and spend enough amount of time to learn these concepts.

  • Don't be afraid of writing bad code. Like I mentioned earlier, you are a beginner, at some point everyone is. Understand that Progress >>>> Perfection

  • Avoid Tutorial Hell 🤯. Tutorial Hell refers to the term when you follow a tutorial after tutorial, and you think you are learning, when in fact you learn nothing. If you watching Youtube tutorials, don't just watch video after video. Realize that you are stuck in Tutorial Hell and stop watching more videos and start creating your own projects.

  • Make Google, StackOverflow, articles & blogs your best friend. Start googling your questions, there is a high probability that your problem/error has already been solved by someone else on the internet.

Find me here -
Github - shaan-alam
Twitter - shaancodes
Instagram - shaancodes
LinkedIn - Shaan Alam

Top comments (41)

Subscribe

How to learn React - The Effective way (9)

Mike Talbot ⭐

Serial CTO

  • Location

    Bristol, UK

  • Work

    Chief Technology Officer

  • Joined

Nice article, I'd only say - I started coding React 2 years ago and I've never written a class based Component, only ever Hooks. So I'd say Hooks are now a basic requirement and the big complexity of class components is only necessary if you are maintaining someone else's code base. For me useState and useEffect are the core part of hooks.

How to learn React - The Effective way (11)

Shaan Alam

I am a self taught programmer currently learning Web Development. I work in JavaScript.

  • Location

    New Delhi

  • Work

    Student

  • Joined

Yeah, you are right. I too use hooks mostly over the classes in my projects.

How to learn React - The Effective way (13)

This is super helpful! Thank you for writing it all out like this. Especially the part about JavaScript and which parts to focus on. I’ve been overwhelmed trying to understand it all at once but this gives me the necessities and then what to focus on once those are mastered.
Thanks again!

How to learn React - The Effective way (15)

Shaan Alam

I am a self taught programmer currently learning Web Development. I work in JavaScript.

  • Location

    New Delhi

  • Work

    Student

  • Joined

Thanks @anitawright75 for your kind words!! Glad you found it useful :)

How to learn React - The Effective way (17)

Prasad

Application Developer

  • Location

    Hong Kong

  • Work

    Developer

  • Joined

Thank you for tips

github.com/Asabeneh/30-Days-Of-React
this is also good resource to learn react.

How to learn React - The Effective way (19)

This is an excellent resource.Thanks for recommending it.

How to learn React - The Effective way (21)

Shaan Alam

I am a self taught programmer currently learning Web Development. I work in JavaScript.

  • Location

    New Delhi

  • Work

    Student

  • Joined

Thanks for sharing the repo!! 😉

How to learn React - The Effective way (23)

Good evening lady's and gentlemen, I would like to thank for your support by that time, struggling to recover what I have done.

I really appreciate your support wish you the best.
I feel welcome now .

How to learn React - The Effective way (25)

Very helpful and thanks you.

How to learn React - The Effective way (27)

Shaan Alam

I am a self taught programmer currently learning Web Development. I work in JavaScript.

  • Location

    New Delhi

  • Work

    Student

  • Joined

• Edited on • Edited

Glad you found it helpful 😊

How to learn React - The Effective way (29)

Benjamin Kalungi

I build cool stuff for myself and for other people. I write about tips, tools and best practices

Good resources, Thank you for sharing...

How to learn React - The Effective way (31)

Shaan Alam

I am a self taught programmer currently learning Web Development. I work in JavaScript.

  • Location

    New Delhi

  • Work

    Student

  • Joined

Glad you found it useful!!

How to learn React - The Effective way (33)

Amol Bhandare

UI Developer

This really helpful article for who's learning not only react or any other all programming languages.... thanks for sharing your knowledge with us!
All the best bro

How to learn React - The Effective way (35)

Shaan Alam

I am a self taught programmer currently learning Web Development. I work in JavaScript.

  • Location

    New Delhi

  • Work

    Student

  • Joined

Thanks man 😁

How to learn React - The Effective way (37)

Pls suggest any tutorials to learn JavaScript for the topics mentioned here.

Thanks

How to learn React - The Effective way (39)

i suggest wesbos.com/javascript
or for further depth look into javascript.info , but i guess 1st one is sufficient for learning react.

How to learn React - The Effective way (41)

Shaan Alam

I am a self taught programmer currently learning Web Development. I work in JavaScript.

  • Location

    New Delhi

  • Work

    Student

  • Joined

You can learn all these topics from MDN Docs. They are really great for learning javascript.

How to learn React - The Effective way (43)

Ernesto Jara Olveda

  • Email

  • Location

    Guadalajara

  • Work

    Senior Staff Associate Engineer

  • Joined

An Image/example tells more than 1000 words

How to learn React - The Effective way (45)

Shaan Alam

I am a self taught programmer currently learning Web Development. I work in JavaScript.

  • Location

    New Delhi

  • Work

    Student

  • Joined

Yeah, you are right. But I couldn't find any relevant images for this.

How to learn React - The Effective way (47)

Machiavelli

  • Location

    South Africa

  • Work

    Full Stack JavaScript Developer at BMW

  • Joined

Thanks for volunteering to make one 👍

How to learn React - The Effective way (49)

Shaan Alam

I am a self taught programmer currently learning Web Development. I work in JavaScript.

  • Location

    New Delhi

  • Work

    Student

  • Joined

You're welcome 😀

How to learn React - The Effective way (53)

Shaan Alam

I am a self taught programmer currently learning Web Development. I work in JavaScript.

  • Location

    New Delhi

  • Work

    Student

  • Joined

Thanks man!!!

How to learn React - The Effective way (55)

Thanks for Giving roadmap of React.

How to learn React - The Effective way (57)

Shaan Alam

I am a self taught programmer currently learning Web Development. I work in JavaScript.

  • Location

    New Delhi

  • Work

    Student

  • Joined

You're welcome 😁

How to learn React - The Effective way (59)

Francisco Zapata

Vue.js/Laravel Fullstack Web Developer... one line of code at a time

  • Email

  • Location

    Puerto Ordaz, Venezuela

  • Education

    Academlo

  • Pronouns

    He / Him

  • Work

    Vue.js/Laravel Developer

  • Joined

Thanks a lot bro!!!
I'll take de course of FreeCodeCamp.
Greetings and blessings from Venezuela.

How to learn React - The Effective way (61)

Shaan Alam

I am a self taught programmer currently learning Web Development. I work in JavaScript.

  • Location

    New Delhi

  • Work

    Student

  • Joined

😊

How to learn React - The Effective way (63)

Himanshu Khaitan

Full Stack Developer | Building Software and Communities | Building Evident Audit (Tech Community)

  • Email

  • Location

    India

  • Education

    National Institute of Technology, Durgapur

  • Work

    Student & Freelancer

  • Joined

This is helpful for those for those trying or in middle of learning react. Great Work Man!

How to learn React - The Effective way (65)

Shaan Alam

I am a self taught programmer currently learning Web Development. I work in JavaScript.

  • Location

    New Delhi

  • Work

    Student

  • Joined

Thanks 👍

How to learn React - The Effective way (67)

Very helpful and thanks you.

How to learn React - The Effective way (69)

Shaan Alam

I am a self taught programmer currently learning Web Development. I work in JavaScript.

  • Location

    New Delhi

  • Work

    Student

  • Joined

Glad you found it helpful 😊

How to learn React - The Effective way (71)

debarshi97

I am a beginner who is keen on learning new things

  • Location

    Bangalore

  • Work

    Research engineer at LGSI

  • Joined

Absolutely agree with you on this article.

How to learn React - The Effective way (73)

Shaan Alam

I am a self taught programmer currently learning Web Development. I work in JavaScript.

  • Location

    New Delhi

  • Work

    Student

  • Joined

Thank you!!

For further actions, you may consider blocking this person and/or reporting abuse

How to learn React - The Effective way (2024)
Top Articles
Who is a team lead?
Walmart Offers a $200,000 Salary for Store Managers, so Why is the Company Worried About Hiring?
Pollen Count Centreville Va
Ohio Houses With Land for Sale - 1,591 Properties
Cars & Trucks - By Owner near Kissimmee, FL - craigslist
Restaurer Triple Vitrage
Botw Royal Guard
Overnight Cleaner Jobs
Evil Dead Rise Showtimes Near Massena Movieplex
How to know if a financial advisor is good?
South Carolina defeats Caitlin Clark and Iowa to win national championship and complete perfect season
Lenscrafters Westchester Mall
Palace Pizza Joplin
Waive Upgrade Fee
Slag bij Plataeae tussen de Grieken en de Perzen
Superhot Unblocked Games
Inevitable Claymore Wow
Colts Snap Counts
iLuv Aud Click: Tragbarer Wi-Fi-Lautsprecher für Amazons Alexa - Portable Echo Alternative
Mflwer
Daylight Matt And Kim Lyrics
Ratchet & Clank Future: Tools of Destruction
bode - Bode frequency response of dynamic system
Robert Deshawn Swonger Net Worth
Kirksey's Mortuary - Birmingham - Alabama - Funeral Homes | Tribute Archive
Craigslist Clinton Ar
Team C Lakewood
Happy Life 365, Kelly Weekers | 9789021569444 | Boeken | bol
Ncal Kaiser Online Pay
APUSH Unit 6 Practice DBQ Prompt Answers & Feedback | AP US History Class Notes | Fiveable
The value of R in SI units is _____?
Boondock Eddie's Menu
Lowell Car Accident Lawyer Kiley Law Group
AP Microeconomics Score Calculator for 2023
Missouri State Highway Patrol Will Utilize Acadis to Improve Curriculum and Testing Management
Google Jobs Denver
The Mad Merchant Wow
Tugboat Information
San Bernardino Pick A Part Inventory
Aurora Il Back Pages
Sand Castle Parents Guide
Shipping Container Storage Containers 40'HCs - general for sale - by dealer - craigslist
Craigslist Antique
Searsport Maine Tide Chart
Best Restaurant In Glendale Az
Shannon Sharpe Pointing Gif
Craigslist Anc Ak
Black Adam Showtimes Near Kerasotes Showplace 14
303-615-0055
Rise Meadville Reviews
Room For Easels And Canvas Crossword Clue
32 Easy Recipes That Start with Frozen Berries
Latest Posts
Article information

Author: Francesca Jacobs Ret

Last Updated:

Views: 6184

Rating: 4.8 / 5 (48 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Francesca Jacobs Ret

Birthday: 1996-12-09

Address: Apt. 141 1406 Mitch Summit, New Teganshire, UT 82655-0699

Phone: +2296092334654

Job: Technology Architect

Hobby: Snowboarding, Scouting, Foreign language learning, Dowsing, Baton twirling, Sculpting, Cabaret

Introduction: My name is Francesca Jacobs Ret, I am a innocent, super, beautiful, charming, lucky, gentle, clever person who loves writing and wants to share my knowledge and understanding with you.