📘 Premium Read: Access my best content on Medium member-only articles — deep dives into Java, Spring Boot, Microservices, backend architecture, interview preparation, career advice, and industry-standard best practices.
🎓 Top 15 Udemy Courses (80-90% Discount): My Udemy Courses - Ramesh Fadatare — All my Udemy courses are real-time and project oriented courses.
▶️ Subscribe to My YouTube Channel (176K+ subscribers): Java Guides on YouTube
▶️ For AI, ChatGPT, Web, Tech, and Generative AI, subscribe to another channel: Ramesh Fadatare on YouTube
If you want to learn ReactJS and don’t know what topics you need to learn then you are in the right place.
YouTube Video
- React is an open-source javascript library for building user interfaces.
- React is a project created and maintained by Facebook.
- React has a component-based architecture. This lets you break down your application into small encapsulated parts which can then be composed to make a more complex UI.
- React will make it painless for you to create complex UIs by abstracting away the difficult parts.
- React will handle efficiently updating and rendering just the right components in your application when your data changes.
- DOM updates which is one of the more expensive operations is handled gracefully in React.
ReactJS Roadmap for Beginners 2023 - Chart
Pre-requisites
- Basics of HTML(such as HTML elements, form, table, div, and list tags with their attributes).
- Basics of CSS(such as styling the HTML elements, CSS selectors, and box model).
- Basics of JavaScript(such as variables, conditional statements, loops, data types, DOM manipulation, and event triggering).
React Basics or Fundamentals
Create React App
Understand how control flows of React App
It is important for a React developer to understand the code flow of a react app. Also understanding the project structure. By completing this step you should be familiar with React app folder structure, Also how the React app runs in the browser, what is virtual DOM, and how DOM is manipulated in React.React Component Types ( Functional and Class)
- Functional Components
- Class Components
Sometimes Functional components are referred to as “stateless” components as they simply accept data and display them in some form; that is they are mainly responsible for rendering UI.
Class components make use of the ES6 class and extend the Component class in React. Sometimes called “smart” or “stateful” components as they tend to implement logic and state.
Using JSX (JavaScript Syntax Extension)
- JSX allows us to write HTML in React.
- JSX makes it easier to write and add HTML in React.
Props
Using Props we can pass data from one component to another. By learning Props you must be familiar with passing the props from the parent component to the child component and then receiving and using them in the child component.States and setState
A state is a built-in object in React components. In the state object, we store property values that belong to the component. When the state object changes, the component re-renders. The state object is modified with the setState() function.useState Hook
A state is an object within which we can store, read and update data in a component. The useState is a Hook (function) that allows you to have state variables in functional components.Handling functions in React
Function in react is the same as javascript functions, we can create our own functions to perform specific tasks. By learning about functions you should be able to create functions in react component and how to call the functions to react component.Handling JSX Events
JSX events allow us to handle events that are react's element(JSX) specific. By learning about JSX events you should have a good understanding of different JSX events(such as onClick, onChange, etc), and their use.Conditional Rendering
Conditional rendering lets you render JSX conditionally just like we use if else condition in javascript. By learning about conditional rendering you should be able to display UI conditionally and understand the ternary operator used in React JSX.Component Life Cycle methods
Common React Lifecycle Methods:render() method
The render() method is the most used lifecycle method. The render() is the only required method within a class component in React. As the name suggests it handles the rendering of your component to the UI.componentDidMount()
Now your component has been mounted and ready, that’s when the next React lifecycle method componentDidMount() comes into play.componentDidUpdate()
This lifecycle method is invoked as soon as the updating happens. The most common use case for the componentDidUpdate() method is updating the DOM in response to prop or state changes.componentWillUnmount()
As the name suggests this lifecycle method is called just before the component is unmounted and destroyed.Building Simple Forms
- Learn how to create forms in React component and how to submit the forms
- Learn how to handle form events like onChange and onSubmit
- Learn how to populate data in the form for editing the information
Advanced Topics
Debugging and logging
React dev tools extension helps you monitor react state and components within the browser's window. By learning this step you should be able to debug react app.HTTP Requests (GET and POST)
Browser's local storage
Local storage lets you store the data locally within the browser's storage. Learn how to use browser local storage for reading and writing data.Handling errors in React
Commonly used React Hooks
- useState
- useEffect
- useContext
- useRef
- useReducer
- useCallback
- useMemo
- Create a custom hook
React Libraries
Axios HTTP Library for Making HTTP Requests
Redux Library for State Management
Redux is an open-source JavaScript library for managing and centralizing the application state. It is most commonly used with libraries such as React or Angular for building user interfaces.React Router Library for Routing
React Router is a standard library for routing in React. It enables the navigation among views of various components in a React Application, allows changing the browser URL, and keeps the UI in sync with the URL.Bootstrap CSS / Chakra UI / Material UI / Ant Design for Styling
- Bootstrap CSS framework
- Chakra UI library
- Material UI library
- Ant Design Component library
Formik
- Getting values in and out of form state
- Validation and error messages
- Handling form submission
React Hook Form
Conclusion
Check out my React beginners tutorial at ReactJS Tutorial for Beginners
Related Articles
- Java Roadmap for Beginners
- How to Become a Full Stack Java Developer - Learning Path for Full Stack Java Developer
- Java Developer Road Map 2023 - Learning Path for Java Developer
- React + Spring Boot Full-Stack Development RoadMap
- Angular + Spring Boot Full-Stack Development Roadmap 2023
- Full Stack Java Developer Roadmap for Beginners 2023
Comments
Post a Comment
Leave Comment