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
{{ message }}
This repository has been archived by the owner on May 10, 2023. It is now read-only.
If I comment out the select menu it works, so then I remove my comments and the app builds and I see the control on the page working as expected. Although if I refresh the page (SSR) I get the error.
All other controls work Ok. Do I need to change something to make the Select work specifically with SSR?
I figured out a solution. I added regenerator-runtime as a dependency (yarn add regenerator-runtime) and then import it atop of my _app.tsx file:
import 'regenerator-runtime/runtime'
I'm not sure if this should be a dependency or worth adding as a step in the setting up with next-js docs. Or maybe next-js is at fault. Either way, works now.
I get an error when I SSR a page containing the SelectMenu control (https://bumbag.style/form/select-menu/).
I am using Bumbag with Next JS. I integrated it as per the integrating with next js docs here: https://bumbag.style/getting-started/#usage-with-nextjs
If I comment out the select menu it works, so then I remove my comments and the app builds and I see the control on the page working as expected. Although if I refresh the page (SSR) I get the error.
All other controls work Ok. Do I need to change something to make the Select work specifically with SSR?
_app.tsx:
The text was updated successfully, but these errors were encountered: