3 ms·
A cookie is something that is sent to the server, by design - that's their whole point! So if the only part of your code that needs them lives on the client, co
by int_19h 1y ago
A cookie is something that is sent to the server, by design - that's their whole point! So if the only part of your code that needs them lives on the client, cookies are the wrong mechanism for that - use localStorage instead.