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

Add example - API requests #55

Open
morsdyce opened this issue Jul 7, 2019 · 3 comments

Comments

Projects
3 participants
@morsdyce
Copy link
Collaborator

commented Jul 7, 2019

Add an example that has async flows with API calls that saves data in Reusable stores

@morsdyce morsdyce created this issue from a note in V1 (To do) Jul 7, 2019

@yarindeoh yarindeoh moved this from To do to In progress in V1 Jul 8, 2019

@yarindeoh yarindeoh self-assigned this Jul 8, 2019

@yarindeoh yarindeoh moved this from In progress to To do in V1 Jul 9, 2019

@yarindeoh

This comment has been minimized.

Copy link
Collaborator

commented Jul 14, 2019

Just to make it clear, convert all todos methods such as remove, add, complete todo, etc to api requests.
And use existing jsonplaceholder mocks (like it was used in 'todos.store.js') ?

@adamkleingit

This comment has been minimized.

Copy link
Collaborator

commented Jul 14, 2019

Doesn't have to rely on the todos example, but I guess it's easier.
Also supporting a loading state is nice.
I guess the main thing is to check async flows and how people might use them with Reusable and create an API layer.

@yarindeoh

This comment has been minimized.

Copy link
Collaborator

commented Jul 14, 2019

Cool I'll create a different example 😁

@yarindeoh yarindeoh moved this from To do to In progress in V1 Jul 15, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.