Перейти к содержимому

React Custom Hooks: useLocalStorage - Simply Explained!

Cosden Solutions

0:00 / 0:00

React Custom Hooks: useLocalStorage - Simply Explained!

35 047 просмотров · 2 года назад
Cosden Solutions
182 тыс. подписчиков
35 047 просмотров · 2 года назад
🚀 Project React → https://cosden.solutions/project-react 📥 Import React (Newsletter) → https://cosden.solutions/newsletter?s... Join The Discord! → https://discord.cosdensolutions.io Source Code → https://github.com/cosdensolutions/co... In this video we will learn about custom React hooks, starting with useLocalStorage. This is a very useful hook that allows you to easily interact with the local storage in React. We'll create a React custom hook that will allow us to set items in the local storage, retrieve them, and remove them from the local storage. This React hook will be highly re-usable and can be used in any component!