Skip to content

Localstorage usage  #37

@designaky

Description

@designaky

Very good usage of the local storage for the persistent data, but at the same is always good to think of the best data structure to store the data. In this case, if your website ends up with a lot of products, it might be more efficient to have a good array of objects so that you only retrieve just one array for all the data, the process it a little bit longer because you will need to parse to JSON the array before storing it and parse it back when you are retrieving it but It will allow you to managed more products and information without issues.

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