Listen "Toasts in Remix"
Episode Synopsis
Hi Kent,
It's Jan.
I'm currently working on implementing toasts in a Remix app. I was using the Epic Stack as a reference.
BTW, thank you for creating it, it's so nice to take some features and functionalities from it when you need them!
Anyways, it looks like the implementation of the toast in the Epic Stack does NOT work with JavaScript disabled. But theoretically, you could make toasts in Remix progressively enhanced by giving the close button a form and prevent default when JavaScript is enabled.
It looks like the library you're using in the Epic Stack - Sonner - does NOT expose the close button, so you can't progressively enhance it.
Was it a conscious decision to make the toast JavaScript only? Or let me ask the decision more openly, what are your thoughts on this?
As always,
thanks a ton!
Toasts in Remix
More episodes of the podcast The Call Kent Podcast
Conference Workshop Advice
01/12/2025
Getting a Developer Job in the AI chaos
25/11/2025
Web Framework Choice
26/09/2025
Suggestion on Career Advice
24/09/2025
Request for oAuth implementation
15/09/2025
What should I learn next?
22/05/2025
ZARZA We are Zarza, the prestigious firm behind major projects in information technology.