deep-foundation / deep-foundation/store

useCapacitorFileStore

Open
#7 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
7
Forks
3
PR merge metrics
No merged PRs in 30d

Description

`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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.