The library for web and native user interfaces| react.dev
The localStorage read-only property of the window interface allows you to access a Storage object for the Document's origin; the stored data is saved across browser sessions.| MDN Web Docs