Closed alex-nax closed 2 years ago
This is rare bundler issue. I don't like to make the code shitty because of some exotic bundler builds. We have enough of shit code e.g. we're not using 1234n directly anymore.
e.g. 115792089237316195423570985008687907853269984665640564039457584007913129639936
needs to be verified by hand! 2**256 doesn't
This is rare bundler issue. I don't like to make the code shitty because of some exotic bundler builds. We have enough of shit code e.g. we're not using 1234n directly anymore.
It fails on react-native environments
upgrade your react-native then.
the problem is with this code https://github.com/facebook/metro/blob/main/packages/metro-react-native-babel-preset/src/configs/main.js#L121 there is an open issue that addresses this problem from feb 18 https://github.com/facebook/metro/issues/359 but there's nothing done((
@paulmillr it'd be better performance-wise if this was used instead for the react-native variant...
@lf94 no it's not better. If you say it is better, provide some benchmarks.
fixes issue https://github.com/polkadot-js/common/issues/1321