We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@location-state/next
Next.jsのv14系(おそらくv14以降)でレンダリング時にエラーが発生する
next
Unhandled Runtime Error TypeError: Cannot read properties of null (reading 'useState') Source javascript/oss/location-state/packages/location-state-next/dist/index.mjs (35:20) @ useNextPagesSyncer 33 | function useNextPagesSyncer() { 34 | const router = useRouter(); > 35 | const [syncer] = React.useState(() => new NextPagesSyncer(router)); | ^ 36 | const needNotify = React.useRef(false); 37 | if (needNotify.current) { 38 | syncer.notify();
The text was updated successfully, but these errors were encountered:
v1.1.0をインストールして検証しましたが再現せず。 本事象はpnpm add {local repository path}してたからかもしれません。 (似たようなことが前もあったような...?) 一旦closeし、publish済みのパッケージで再現することがあればre openします。
pnpm add {local repository path}
Sorry, something went wrong.
AkifumiSato
No branches or pull requests
Next.jsのv14系(おそらくv14以降)でレンダリング時にエラーが発生する
next
: v14.1.4@location-state/next
: v1.0.1(pnpm link)The text was updated successfully, but these errors were encountered: