Skip to content

feat: get records from store #78

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

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

feat: get records from store #78

wants to merge 2 commits into from

Conversation

anbraten
Copy link
Contributor

@anbraten anbraten commented Nov 22, 2022

This is a different approach for use-feathers that uses a single store per service to "cache" and get the data from. Basically useGet and useFind are just returning the elements matching the filter / id from the store directly while they are filling the store with new data from the server in the background.

@anbraten
Copy link
Contributor Author

anbraten commented Nov 22, 2022

@mariusheine FYI: I just had a quick look on this approach, but I would say it seems to quite promising.

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

Successfully merging this pull request may close these issues.

1 participant