You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for this awesome library. I started using nextjs server actions.
Currently, the toploader does not appear when a server action is in progress. It would be awesome if that would work too.
Server.Actions.Loading.Indicator.1.mp4
The text was updated successfully, but these errors were encountered:
This is probably out of scope for this library. I think it's specifically made to support Nextjs' linking/navigation system, not for async operations such as server actions. You should handle user feedback when eg. submitting a form yourself.
You can however have more programatic control over the navigation itself (eg. after your server action is complete) using NProgress.
Edit: there's tons of "React topbar loader" libraries out there that are not tailored only to Nextjs' navigation, maybe you should check those out as well.
putting this here in case it helps anyone else. If you want to manually show the loader, install nprogress in your project and just do something like this. You can still call redirect inside your server action.
Thank you for this awesome library. I started using nextjs server actions.
Currently, the toploader does not appear when a server action is in progress. It would be awesome if that would work too.
Server.Actions.Loading.Indicator.1.mp4
The text was updated successfully, but these errors were encountered: