<Link> is a functional component of react-router-dom library. It is used to create menu navigation in your application. A very…
React
React Router Redirect
Let us see a very simple example of how to use React Router Redirect functionality. The Redirect component comes with…
React Router Nested Routes
Let me show you how to write a nested routes in React using React Router. In case you are unfamiliar…
React Router example
Here I show a very simple and basic example of React Router to introduce routing in your application. Step 1…
React Hooks – Correct usage of State Hook
Let’s get into details of what state hooks are and how to use them in right way in React function…