browserify-zlib
browserify-zlib copied to clipboard
Add react-native compatability
The React Native packager doesn't have a way of automatically replacing requires of core node libraries with browser compatible alternatives. However facebook/react-native#2208 allows the packager to override modules returned by require, but the override must be specified by the packages directly dependent on the node core module, hence this PR.
I know this is late, but is this still needed, or has a better solution emerged for react-native?
I don't know, I'm currently not using React Native and haven't been following its development close enough to know if the situation has changed.