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

state enum #8

Closed
Tracked by #1
mahdiboomeri opened this issue Nov 30, 2022 · 0 comments · Fixed by #9
Closed
Tracked by #1

state enum #8

mahdiboomeri opened this issue Nov 30, 2022 · 0 comments · Fixed by #9

Comments

@mahdiboomeri
Copy link
Owner

mahdiboomeri commented Nov 30, 2022

state === 'pending' => same as pending
state === 'error' => same as !!error
state === 'success' => same as successful state (no error and pending)

@mahdiboomeri mahdiboomeri mentioned this issue Nov 30, 2022
20 tasks
@mahdiboomeri mahdiboomeri changed the title new state enum => 'loading' | 'error' | 'success' state enum Nov 30, 2022
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 a pull request may close this issue.

1 participant