react-native-v8
react-native-v8 copied to clipboard
react-native-v8 and polkadot js
I have project where i use polkadot js and using it with hermes causes performace issues for user. I tried to use v8 and polkadot js, but for some reason it's just freezes on any library method for ever. I don't have any idea why this is could be, maybe you can help me with it? Also i use node-libs-react-native for crypto js and other node js dependencies that this library needs. Example of code that I try to run: await ApiPromise.create({ provider: new WsProvider('wss://kusama-rpc.polkadot.io/ ') })
try NODE_OPTIONS=--max_old_space_size=8192 react-native start
Running Polkadotjs requires a large amount of memory
Especially on the first run when the progress is stuck at 99%, it takes a while to get to 100%
I think my issue is similar to https://github.com/Kudo/react-native-v8/issues/89 but I don't have time right know to test it, will test soon and close issue if it fixed.