Skip to content

Instantly share code, notes, and snippets.

@adeisbright
Last active August 3, 2021 14:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adeisbright/0c946c0800aa3e5718284ff5557a0a3b to your computer and use it in GitHub Desktop.
Save adeisbright/0c946c0800aa3e5718284ff5557a0a3b to your computer and use it in GitHub Desktop.
An helpful guide on learning React

How to Learn React

React is an Arsenal in the tools of the modern day front end developer , you cannot work effectively without it How should you approach learning it ?

Before taking on React , ensure you know the following Javascript concepts very well :

  • Functions
  • Objects
  • Array and its method
  • Array and Object Destructuring
  • Pure and Higher Order Functions
  • Asynchronous Programming
  • DOM
  • Event Handlers
  • Fetch API
  • File API
  • Client Side Data Storage e.g Local Storage You should also be familiar with Responsive Design. If you are good with the above listed concepts then use this approach as a guide to learning react :

Use the official React Documentation before any other documentation

The official documentation has rich information on how to get started and why you should not use examples you assume to be cool

  1. Start with understanding JSX and How React handles rendering
  2. Practice JSX and Rendering
  3. Jump on how to create react elements and components
  4. Learn Conditional Rendering
  5. Work with List
  6. Try to understand props injection and how it affects code reuse . Ask yourself : "How will I fix this ? " Don't bother about the answer to your question yet , react will answer you.
  7. Learn how to compose element
  8. Read State Management
  9. Create forms
  10. Work on Creating the Temperature Converter Example
  11. Read Thinking in React
  12. Now , try to properly understand State Managenemt with emphasis on Component State and App State e.g User Locale
  13. Build the following :
  • Card Component
  • Dropdown
  • Mobile Navigation
  • Collapsible
  • Todo List
  • Modal Component
  • Tabs
  • Slideshow
  1. Learn React Hooks : useState , useEffect , useRef , useContext , useReducer If you complete the examples above , you can go ahead to build the following :
  • A blog
  • An ecommerce with search and Shopping Cart
  • An App with Login and Logout Authentication
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment