Posts under react
How to use media queries in styled components
Abhishek EH | Apr 5, 2023 | 2 Min Read
Tutorial on how to use media queries in styled components to display different view in mobile screens and desktop screens
Read More
How to use Local Storage in Next.js
Abhishek EH | Apr 4, 2023 | 4 Min Read
Tutorial on how to use local storage in Next.js. Store app state in local storage and retrieve it when user reloads the page. Also, learn how to write useLocalStorage hook.
Read More
How to add Google Analytics to Next.js app
Abhishek EH | Mar 18, 2023 | 3 Min Read
Tutorial on how to create Google Analytics site and add it to your Next.js website.
Read More
Next.js: Get query parameters in Page router
Abhishek EH | Sep 12, 2024 | 2 Min Read
Tutorial on different ways to read query parameters in Next.js Page router. Explains about how to get query parameters in both server side and client side
Read More
How to kill a process running on a port
Abhishek EH | Mar 5, 2023 | 1 Min Read
Tutorial on how to kill a process which is running on a particular port such as 3000
Read More
Fix: Export 'useHistory' was not found in react-router-dom
Abhishek EH | Mar 2, 2023 | 2 Min Read
Tutorial on how to set the document title in React? Discussed about adding in index.html, adding using useEffect, adding using React Helmet.
Read More