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
My $0.02 as a random passer-by who recently learned about this library is that react-wrap-balancer should not exclusively depend on server-side functionality...
If there is a server/client option I think a client-only/SPA-friendly version should still be available + viable.
I doubt I'm the only one who has dropped this neat package into client-side only scenarios (e.g. React + Vite) for an immediate aesthetic improvement.
As-is the current version seems to break with static generator setups.
Currently I have no issues with React + Vite building into SPA's. However I just discovered this library is the sole cause of a broken production build of an Astro + React project generating static documentation that I'm working on.
It's not needed to include the script content in the client bundle and hydrate
<Provider>
if you import it from a server component.The text was updated successfully, but these errors were encountered: