How to take advantage of Local Storage in your #react projects
▻https://hackernoon.com/how-to-take-advantage-of-local-storage-in-your-react-projects-a895f2b2d3
And why you ought to.Local Storage is a Web API native to modern web browsers. It allows websites/apps to store data (simple and limited) in the browser, making that data available in future browser sessions.Before diving into the tutorial, it may be unclear why you’d want to even use Local Storage in your React apps.There’s plenty of reasons and use cases, more than I can imagine, but here’s a few I’ve discovered.A simple, fake backend for your frontend React projects — It’s often nice to add the appearance of a backend/database to your frontend portfolio projects. The extra functionality will take your app to the next level, improve the user experience and impress potential employers.Experiment with different states while developing — When working on an app, it’s often useful or necessary for (...)
#programming #javascript #web-development #front-end-development