Skip to content

useCapacitorFileStore #7

@ivansglazunov

Description

@ivansglazunov

useCapacitorStore can be used as a boilerplate.

  • in provider props handler as handleFilePath: (key: string) => ({ path: string; directory: string; })
  • it should be possible to store all keys in one file, or each key in different file and directory based on handleFilePath (name can be changed)
  • new store type should be added to the example

    open deepcase/deepcase in gitpod, npm ci, npm run gulp -- packages:get and then cd packages/store-example PORT=3002 npm run dev

useCapacitorStore should work with both localStorage and capacitor store for first data sync. In case of useCapacitorFileStore this is impossible.

500 RUB reward can be claimed by anyone who completes this task.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions