What is the best way to show toast notification messages in remix app?

Shopify Partner
40 2 5
So I'm a form submission I'm processing it from the action method and then redirecting with a response. Now I wanna show that response as a toast notification.
Like processing data in file A and then redirecting to file B and wanna show the notification there in B. Maybe implement it in the root to skip writing the same code in every file. 

How can I do that? 

Reply 1 (1)

Shopify Partner
260 43 41

Hi @Wakil_eFoli,

You can use the app bridge to show toast information to the user. 
Here is Shopify's official documentation about how to show toast using their latest app bridge API. Global app bridge api 
You can also use the legacy app bridge API for this. App bridge legacy api 
You can also use Shopify Polaris component for this purpose. Toast - Shopify Polaris 

Brain Station 23 PLC
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
Email: js.team@brainstation-23.com