https://github.com/janniks/react-native-bigint-support
https://github.com/janniks/react-native-bigint-support
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/janniks/react-native-bigint-support
- Owner: janniks
- Created: 2022-05-17T12:31:52.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-18T17:03:27.000Z (about 4 years ago)
- Last Synced: 2025-02-14T09:51:09.514Z (over 1 year ago)
- Language: Java
- Size: 662 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## `bigint` support for RN
this repo shows the changes necessary to add [v8 runtime](https://github.com/Kudo/react-native-v8/tree/0178b1753459b2799f3c0e93b581225d1a9128de) (and thus `bigint` support) to RN.
changes ([diff](https://github.com/janniks/RNStacks/compare/0909847..7a01e50)):
- we start from a default project initialized with `npx react-native init`
- we follow the steps in [`Installation for React Native >= 0.66`](https://github.com/Kudo/react-native-v8/blob/0178b1753459b2799f3c0e93b581225d1a9128de/README.md#installation-for-react-native--066)
- we change the babel preset to [`babel-preset-expo`](https://www.npmjs.com/package/babel-preset-expo/v/9.1.0)

_left: using `BigInt` with default runtime (RN 68.2); right: using `BigInt` with v8 runtime_