Closed CFPanda closed 1 year ago
省资源优化 -> 共用 业务强隔离 -> 不共用
我采用了共用的方案,但是在使用过程中遇到了一个问题,就是只能显示一个RCTRootView 代码如下:我添加了两个view,但只能显示了rctView1的内容
需要你自己控制页面的切换和显隐
现在是我先add rctView1,rctView2就不显示,但是我先添加rctView2的话,rctView1就不显示,好像这两个view没办法同时显示,你说需要自己控制页面的显示和隐藏,具体是指怎么控制呢?
不然你要怎么显示呢?你添加九个页面,九个自动变成九宫格吗?那当然是原生有自己的导航方法,自己决定页面的显示、隐藏、布局、跳转啊
我的代码已经决定了 我的页面布局了啊,就是一个native的view上add了两个rn的view,所在的区域和大小我都给了,不应该都显示么
👋 Hey there, it looks like there has been no activity on this issue in the last 90 days. Has the issue been fixed, or does it still require the community attention? This issue will be closed in the next 7 days if no further activity occurs. Thank you for your contributions.
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.
请按以下格式提供问题的相关信息。
问题的具体描述
请描述完整的环境/版本信息
npx react-native info
命令,并将其输出结果粘贴到这里。预期结果