Skip to content

Posts under react

How to use Local Storage in Next.js
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
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
How to set port in Next.js
How to set port in Next.js
Abhishek EH | Mar 14, 2023 | 1 Min Read
Tutorial on how to change the default port from 3000 to something else in Next.js
Read More
Next.js: Get query parameters
Next.js: Get query parameters
Abhishek EH | Mar 8, 2023 | 1 Min Read
Tutorial on different ways to read query parameters in Next.js. 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
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
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
© 2023 CodingDeft.Com