-
Notifications
You must be signed in to change notification settings - Fork 8
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
loading spinner while requesting data in backend #336
Comments
One simple place to start with If you click on library menu or go to url http://github.planetfarms.io:3000/library
Which will call action
Action which fetch the resources of library and will intiate state of loading by reducer
After data returned will call reducer
All these reducers are under
payload returned by reducers in action will be grabbed under
Here we can get loading and use that value somewhere inside
To display or hide loading icon For loader you can use some package like https://www.npmjs.com/package/react-loader-spinner |
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: