Closed jr-k closed 7 years ago
Yeah, we could definitely do that. Maybe something like.. the url params of the iframe allow a libraries
array. And this could be used to fetch a js bundle.
Probably would need to make a custom build of the native base components, since it has a few native module dependencies.
Ok, so we now can load 3rd party libraries. Will probably still need to make a special build of NativeBase without native dependencies.
If somebody does this, let's definitely include a link to the bundle in the readme.
I raised an issue with NativeBase to see if they would consider integrating with react-native-web directly.
That'd be really cool. I'd definitely enjoy using that.
Closing. Any library bundled for browser/commonjs should work in the web player now.
Is it possible to add native-base library in the editor ?