DogeAmazed
DogeAmazed
@huozhi Upgraded with codemod (`npx @next/codemod@canary upgrade latest`) and got this again. ``` npm ERR! Found: [email protected] npm ERR! Could not resolve dependency: npm ERR! peer react@"^18.2.0 || 19.0.0-rc-65a56d0e-20241020" from...
> That custom hook suggestion can result in hydration errors, basically what they concluded themselves: > > https://github.com/PostHog/posthog-js/blob/26150b197dc1a2f5241b8d29ee7a359331a1a0a4/react/src/hooks/useFeatureFlagEnabled.ts#L8-L9 Though they could check whether or not feature flags were bootstraped (https://posthog.com/tutorials/nextjs-bootstrap-flags)....