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
I know this is a pretty niche use case, but we want to show toasts after successful form submission and redirect.
Using useEffect and reading from query params/cookies works fine, but we are seeing a noticeable hit to our performance metrics (LCP), because the toast counts as the LCP element and it only appears after the React app is mounted.
If there is any possibility to actually trigger the toast during the SSR pass so it appears in the initial HTML, it would help us a lot!
The text was updated successfully, but these errors were encountered:
I know this is a pretty niche use case, but we want to show toasts after successful form submission and redirect.
Using
useEffect
and reading from query params/cookies works fine, but we are seeing a noticeable hit to our performance metrics (LCP), because the toast counts as the LCP element and it only appears after the React app is mounted.If there is any possibility to actually trigger the toast during the SSR pass so it appears in the initial HTML, it would help us a lot!
The text was updated successfully, but these errors were encountered: