tradle / rn-nodeify

hack to allow react-native projects to use node core modules, and npm modules that use them
MIT License
614 stars 114 forks source link

rn-nodeify vs node-libs-browser #98

Open emclab opened 3 years ago

emclab commented 3 years ago

I just came across module node-libs-browser (deprecated though because webpack5 did not include it) and it seems has very similar idea by provide wrapper of nodejs core to application. Can someone shed light on what is the difference between those 2 modules? Are they exchangeable in react native app?

mvayngrib commented 3 years ago

similar purpose, but the browser and react-native environments are pretty different and require a different set of shims

emclab commented 3 years ago

I need integrate web3.js into a react native app. I have tried to install ipfs modules in react native app with the help of rn-nodeify and there were a few bundle issues which I could not solve. I am wondering if web3 has better chance with rn-nodeify. Any insight/experience is appreciated.