Skip to content

docs(settings): Drop react-native note from hoisted docs#774

Open
kitten wants to merge 1 commit intopnpm:mainfrom
kitten:patch-4
Open

docs(settings): Drop react-native note from hoisted docs#774
kitten wants to merge 1 commit intopnpm:mainfrom
kitten:patch-4

Conversation

@kitten
Copy link
Copy Markdown

@kitten kitten commented Apr 11, 2026

Proposal to drop the "A React Native project will most probably only work if you use a hoisted node_modules."

There's a bit of nuance to this, because not all React Native projects are the same or set up the same. That said, one recommendation is to use a framework, e.g. Expo: https://reactnative.dev/docs/environment-setup

While I can't vouch for all React Native dependencies and setups to be isolated-safe, at Expo, we've actively worked on this and now support and guarantee that isolated installations work. In fact, we're looking to move this to be the default recommendation for pnpm gradually. We've also in the meantime have started switching the expo/expo monorepo to use pnpm in isolated mode as well.

There's kind of a longer story to this, some of which I've written about in my blog post, but as a direct consequence, I'd love to see:

  • the generic "React Native project" example removed from this section of the docs
  • and; if it does need to be preserved, it shouldn't make generic statements that may change or are affected by non-Expo projects or make implications that users might generalise to apply to Expo projects

Cheers!

@bolt-new-by-stackblitz
Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 11, 2026

@kitten is attempting to deploy a commit to the pnpm Team on Vercel.

A member of the Team first needs to authorize it.

@byCedric
Copy link
Copy Markdown

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants