Re: Static data for web pages

Marcos Caceres <[email protected]> Mon, 11 May 2020 13:31:30 +1000
Newsgroups gmane.org.w3c.tag
Message-ID <[email protected]>
H=C3=AD Melvin,=20

> On 10 May 2020, at 7:27 pm, Melvin Carvalho <[email protected]> =
wrote:
>=20
> Let me add the class of storage APIs such as SessionStorage, =
LocalStorage, Cookies, File System API, WebSQL etc. as mentioned here:
>=20
> https://web.dev/storage-for-the-web/
>=20
> The static variable idea relates more to something in the page itself =
(body or head)

The DOM is not dissociated from local storage, so the solution is to use =
the local storage solutions provided by the browser. Just rehydrate =
state based on those storage solutions.=20=