Toasts in Remix episode artwork

EPISODE · Jan 16, 2024 · 6 MIN

Toasts in Remix

from The Call Kent Podcast · host Kent C. Dodds

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

Episode metadata supplied by the publisher feed · Published Jan 16, 2024

Jan asked this on 2024-01-16

PodParley-generated summary based on available episode metadata and transcript content.

NOW PLAYING

Toasts in Remix

0:00 6:38

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

Frequently Asked Questions

How long is this episode of The Call Kent Podcast?

This episode is 6 minutes long.

When was this The Call Kent Podcast episode published?

This episode was published on January 16, 2024.

What is this episode about?

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...

Can I download this The Call Kent Podcast episode?

Yes, you can download this episode by clicking the download button on the episode player, or subscribe to the podcast in your preferred podcast app for automatic downloads.
URL copied to clipboard!