Open srt0422 opened 7 years ago
Downgrading React to 15.4.1
should solve the problem. If you are using features from the latest React, keep using this workaround.
NativeBase V2 support is currently suspended because we have encountered too many issues when migrating the latest React Native components to the web runtime. Yeah, need help :(
Are you guys still working on it? if there's a roadmap I might be able to lend a hand from time to time.
@Chion82 Can I help in any way?
The issue is described here: https://github.com/start-react/native-starter-kit/issues/55
To quote the above issue :
I realize you're working on updating to Native Base v2. Is there any way to address this issue in the meantime?
I tried getting around it by updating webpack config: resolve: { extensions: [ ".js", ".jsx", ".css" ], alias: { 'react-native':'react-native-web', 'native-base': 'native-base-web', 'react/lib/ReactNativePropRegistry': 'react-native-web/dist/modules/ReactNativePropRegistry', 'react-native/Libraries/Renderer/src/renderers/native/ReactNativePropRegistry': 'react/lib/ReactNativePropRegistry' } }
I also tried this alias:
'react-native/Libraries/Renderer/src/renderers/native/ReactNativePropRegistry': 'react-native-web/dist/modules/ReactNativePropRegistry'