Posts under react
How to hide and show elements in React
Abhishek EH | May 25, 2023 | 1 Min Read
How to use React useState hook and how to show and hide an element when a button is clicked
Read More
How to invalidate query after mutations in React-Query
Abhishek EH | May 24, 2023 | 5 Min Read
How to build a todo list, fetch and display it using React query, mutate the list and invalidate the query and display updated list
Read More
How to add favicon to a Next.js site?
Abhishek EH | Apr 16, 2023 | 2 Min Read
Tutorial on how to create a favicon and replace the default icon with the newly created one in Next.js
Read More
How to render array of components in React
Abhishek EH | Apr 7, 2023 | 3 Min Read
Tutorial on how to create an array of components and render them, Also discuss how to store components in an array and render them.
Read More
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