-
Notifications
You must be signed in to change notification settings - Fork 135
Description
Introduction
I want to inquire and discuss about support for RN apps that live in subdirectories, like app/
.
The Core of It
My project structure is that I have server, website and React Native app everything in one. My React Native app is in a subfolder app
. I created this structure over 2 years ago and that worked kinda fine. There is a --root
option for Metro, and project.ext.react
also allows me to specify root: "../../.."
etc. I've ran RN this way for a long time now, but now I see that in the tools, it is more and more often assumed that for example the xcodeproj is in a specific location and or that the modules directory is ../node_modules
relative to the RN app. One example is the new React Native Autolinking, which does not seem to work with my structure at all. react-native link
seems to work, but react-native unlink
does not seem to.
Discussion points
- Is having a RN app in a subdirectory like
app/
supported? Has it ever been? - Should we file issues for tooling that does not work in subdirectories?