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!