Skip to content

Cookies and LocalStorage: provide a basic example #22

Closed
@niksubramanian

Description

@niksubramanian

Hi there,

First of all, wonderful work on the docs - I went through them and found them to be a pleasure to use and implement.

A point of improvement would be to give an example on:

  • how to handle setting and getting localStorage.
  • how to handle setting and getting a cookie.

I'd argue this would be useful for a number of reasons:

  • There seems to be a general lack of documentation about this issue, resulting in a number of unanswered questions in the forum, such as these: example 1, example 2
  • Most sites that require the complexity of SSR probably also require handling login/authentication management.

Thanks in advance, and keep up with the great work!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions