You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because we're not using node_modules anymore (and thus don't have any hoisting), Yarn 2 will not support nohoist, which was always a workaround to a more serious problem.
The real solution here would be for RN to have a native compatibility with PnP, which I expect will have to come from the community (I'll be happy to provide context when needed, but I have very little experience on the RN architecture itself).
cc @empyrical, I remember you started evaluating it last year. Do you think it would be worthwhile to make a new case study to figure out what would be needed for RN to work with PnP?
In the meantime I'll be closing this issue for now as we don't have action items related to nohoist.
Now react-native (metro bundler) has big problems finding node_modules outside the root of the react-native application and therefore requires manual configuration. Will react-native (metro bundler) really get PnP support in the future?
Now
yarn
does not support differentnohoist
at different levels of monoreps. This is critical when working with react-native.I hope this will change in the future
The text was updated successfully, but these errors were encountered: