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
throw dataWithToast() and throw await dataWithToast() is not working with React Router 7. I have tested it using a fresh new project template from React Router.
Steps to reproduce:
create a React Router 7 project with Framework Mode from the official docs.
install remix-toast
follow the usage guide from this repository (i use sonner)
just call throw dataWithToast() or throw await dataWithSuccess() in any loader.
throw dataWithToast()
andthrow await dataWithToast()
is not working with React Router 7. I have tested it using a fresh new project template from React Router.Steps to reproduce:
remix-toast
throw dataWithToast()
orthrow await dataWithSuccess()
in any loader.Observed Behaviour:
throw dataWithToast()
give this output in log:whereas
throw await dataWithToast()
didn't log anythingThe text was updated successfully, but these errors were encountered: