Scott老师,我是按照视频上的ES5来写的,用这个组件的时候,出现警告:Component's children should not be mutated.
来源:5-2 TabBarIOS 开启 App 首页(1)

Chrome_
2016-10-26
ExceptionsManager.js:82 Warning: Component's children should not be mutated.
in RCTText (created by Text)
in Text (created by imoocApp)
in RCTView (created by View)
in View (created by imoocApp)
in StaticContainer (created by TabBarItemIOS)
in RCTTabBarItem (created by TabBarItemIOS)
in TabBarItemIOS (created by imoocApp)
in RCTTabBar (created by TabBarIOS)
in TabBarIOS (created by imoocApp)
in imoocApp
in RCTView (created by View)
in View (created by AppContainer)
in RCTView (created by View)
in View (created by AppContainer)
in AppContainer
1回答
-
这是什么鬼,你看下你现在的 react-native 版本多少,再把代码贴出来,看看有没有用法错误
022016-10-27
相似问题