Skip to content
New issue

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

pnpm v9 multiple react instances #8014

Open
2 of 4 tasks
tvatoyan opened this issue Apr 25, 2024 · 0 comments
Open
2 of 4 tasks

pnpm v9 multiple react instances #8014

tvatoyan opened this issue Apr 25, 2024 · 0 comments

Comments

@tvatoyan
Copy link

Verify latest release

  • I verified that the issue exists in the latest pnpm release

pnpm version

9.0.6

Which area(s) of pnpm are affected? (leave empty if unsure)

No response

Link to the code that reproduces this issue or a replay of the bug

No response

Reproduction steps

  • reload browser

Describe the Bug

We have nx react application, after updating pnpm version to latest we have issue with multiple react instances, pnpm serve works without any issues but after browser reload we have multiple issues on console for ex.

  • Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons
  • Cannot read properties of null (reading 'useCallback')

Expected Behavior

There should not be any react issues on console.

Which Node.js version are you using?

18.17.1

Which operating systems have you used?

  • macOS
  • Windows
  • Linux

If your OS is a Linux based, which one it is? (Include the version if relevant)

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant