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

Global Loading #2

Open
rikicmd opened this issue Aug 31, 2023 · 0 comments
Open

Global Loading #2

rikicmd opened this issue Aug 31, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@rikicmd
Copy link
Owner

rikicmd commented Aug 31, 2023

Is your feature request related to a problem? Please describe.
This boilerplate requires global loading every time it fetches data

Describe the solution you'd like
Use react router fallback or suspend. Can be combined with zustand. So every time you fetch data, there will be a trigger to zustand to issue loading.

Describe alternatives you've considered
For now I'm thinking of using the notiflix library

Additional context
If possible, global loading will run automatically when data is fetched. For fetching data, we now use Axios and React Query.

@rikicmd rikicmd added the enhancement New feature or request label Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant