Posts under react
React Context for State Management in React
Abhishek EH | Oct 9, 2020 | 9 Min Read
Tutorial on how React context API can be used along with useContext Hook to manage state in React Apps
Read More
Code Splitting in React using React.lazy and Loadable Components
Abhishek EH | Sep 20, 2020 | 10 Min Read
Step by step guide on how to do code splitting in react using both React.lazy and Loadable Components. You will also learn about Suspense and Error Boundaries in React.
Read More
Navigation in React App using React Router (v6)
Abhishek EH | Dec 5, 2022 | 22 Min Read
Guide on different ways of routing in React using the React Router. Includes nested routing, authenticated routing, accessing URL and query parameters etc.
Read More
Form validation in React using the useReducer Hook
Abhishek EH | Sep 4, 2020 | 15 Min Read
Tutorial on how to validate forms in react without using any validation library. Also, we will compare popular form validation libraries and their sizes.
Read More
How to implement dark mode in React
Abhishek EH | Aug 29, 2020 | 9 Min Read
Guide on how to implement dark mode in React using a custom hook, how the user preference can be stored in local storage, and how the page can be loaded with the theme from the system settings.
Read More
How to deploy React Application build files to external CDN
Abhishek EH | Jul 2, 2020 | 2 Min Read
Guide on how to set an external CDN URL as the path for storing static files generated using create-react-app, to improve page load speeds
Read More