Page loading spinner while API calls in React || Codenemy
HTML-код
- Опубликовано: 15 сен 2024
- Hey Guys,
In this video, I have explained how to add a full page spinner for API calls or when a user is performing an action. This will help you prevent users from clicking the button twice before performing the actual action.
GitHub URL of program :
github.com/vik...
To get post URL:
jsonplaceholde...
material ui dependecy
// with npm
npm install @material-ui/core
// with yarn
yarn add @material-ui/core
#reactJS #ES6 #Loader #Spinner
Thank you so much! This tutorial is much more simpler than others
Glad to hear that, Thanks for watching :)
That was very well done and useful for what I'm working on. Thanks for posting!
It's my pleasure,Thanks for watching :)
Simple and clear. very useful. Thanks
what happen when data not available or data is null..then that time Spinner will continue worked...then that time how to handle that 3rd situation
Thank you so much! This tutorial is really helpful! ❤
wtf is someone dying in the background at 5:00?
Sorry for inconvenience, Will avoid such bg noise here after :)
dog is hurt:))
Thank you. Was very simple and straight to point.
Glad to hear that, Thanks for watching :)
It works!! Thanks for the help :)
Glad to hear that, Thanks for watching :)
Tnks fr the useful content
So nice of you, thanks for watching
what if api return error then i want to show that error after spiner
First spiner then api data if api has data if api does not have data then want to show error
ty sir from pakistan
Thanks
Hi Bro,
How can I contact you directly? I want to share with you my github repository. I am having a freeze issue after doing the CRUD on the material table. hoping for help
Ping me on facebook facebook.com/codenemy/
How to show this spinner in document title
Thanks for your question, i did research unfortunately not found solution. It will create a performance issue as i read.
This will give error if something is going to be rendered based on null value of post. Instead use an empty array as initial value in real projects
Exactly, Thanks :)
5:00
is someone killing a dog?
please upload same thing in c#wpf...
I have no idea on C#
it's already out of date 😞
Thanks for information :)
thanks
It's my pleasure , Thanks for watching :)
Thanks
you are welcome, thanks for watching