Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

useCapacitorFileStore #7

Open
3 tasks
ivansglazunov opened this issue Apr 28, 2021 · 3 comments
Open
3 tasks

useCapacitorFileStore #7

ivansglazunov opened this issue Apr 28, 2021 · 3 comments

Comments

@ivansglazunov
Copy link
Member

ivansglazunov commented Apr 28, 2021

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.

@ivansglazunov ivansglazunov added the enhancement New feature or request label Apr 28, 2021
@ivansglazunov ivansglazunov changed the title useFilesStore useFileStore May 20, 2021
@ivansglazunov ivansglazunov changed the title useFileStore useFilesStore May 20, 2021
@ivansglazunov ivansglazunov changed the title useFilesStore useFileStore May 20, 2021
@ivansglazunov ivansglazunov changed the title useFileStore useCapacitorFileStore May 20, 2021
@ivansglazunov ivansglazunov removed the enhancement New feature or request label May 21, 2021
@baryl348
Copy link

can you learn more about what needs to be done?

@Konard
Copy link
Member

Konard commented May 30, 2021

can you learn more about what needs to be done?

Did you mean Can you tell more about what should be done??

@baryl348
Copy link

can you learn more about what needs to be done?

Did you mean Can you tell more about what should be done??

Yep

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants