opral / inlang-paraglide-js

Tree-shakable i18n library build on the inlang ecosystem.
https://inlang.com/m/gerre34r/library-inlang-paraglideJs
22 stars 0 forks source link

Paraglide-Next: useRef is not defined when using Next 15 #154

Closed LorisSigrist closed 2 weeks ago

LorisSigrist commented 2 weeks ago

When using the NextJS 15 RC importing Paraglide-Next causes an error when rendering Server Components.

Source: https://discord.com/channels/897438559458430986/1250917185346469969/1251105646200492122

LorisSigrist commented 2 weeks ago

I can reproduce the issue reported in discord

LorisSigrist commented 2 weeks ago

This is caused by an issue in next@15.0.0-rc.1 itself that has been fixed in next@canary. Paraglide-Next will work again in the next version of next.