forge42dev / remix-toast

Server side implementation of toast notifications in Remix
MIT License
190 stars 11 forks source link

Manually redirects to a different route in the browser, and the toast style does not work when clicked again #10

Closed daisnkzy closed 9 months ago

daisnkzy commented 9 months ago

im not sure if it's an issue with the sonner library, I haven't tested it yet. I'm using the sample project in the source code and I'm still getting the issue. (https://github.com/Code-Forge-Net/remix-toast/tree/main/src/test-apps/cloudflare

Steps to reproduce the bug 🔁:

1.click the "click me"button (it works fine) 2.change the url(http://localhost:3000/test) to (http://localhost:3000/),and redirect it. 3.click the "click me"button again, the style of the toast is invalid. toast-bug

daisnkzy commented 9 months ago

seems like the sonner's problem,so close the issue