Skip to content

Refactor LocalStorage API #97

@SebastienGllmt

Description

@SebastienGllmt

The current LocalStorageApi causes a lot of code duplication if we add more settings (which we plan to)

code here

There should instead be a type-parameterized class that takes a default value as an argument that we reuse for these settings.

Hopefully this refactoring would also allow us to add // @flow to the file to enable type-checking

Metadata

Metadata

Assignees

No one assigned

    Labels

    NFCNo Functional Change (pure refactoring/cleanup)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions