Content pfp
Content
@
0 reply
0 recast
0 reaction

Ashoat pfp
Ashoat
@ashoat.eth
getting Viem to work in React Native 0.70 was a pain needed 4 Babel changes: https://phab.comm.dev/D13702
1 reply
0 recast
9 reactions

Nate ツ pfp
Nate ツ
@natedev.eth
I remember @thiagobrez mentioning on twitter that you need polyfills for viem, did that approach not work for you? https://viem.sh/docs/compatibility.html
1 reply
0 recast
2 reactions

Ashoat pfp
Ashoat
@ashoat.eth
we needed the `TextEncoder` polyfill too, but not the others
1 reply
0 recast
2 reactions

Thiago Brezinski pfp
Thiago Brezinski
@thiagobrez
Interesting, so from what I see you were on an older version of Hermes and/or babel plugin? Makes sense, I never ran into those BigInt problems before probably because I was bootstrapping new apps with updated Hermes and babel plugin
1 reply
0 recast
0 reaction

Ashoat pfp
Ashoat
@ashoat.eth
yeah, React Native 0.70 is pretty old at this point πŸ˜… I think React Native 0.71 adds support for BigInt literals we need to update, but have to get rid of all of our old Reanimated 1 syntax first...
1 reply
0 recast
1 reaction

Thiago Brezinski pfp
Thiago Brezinski
@thiagobrez
oh yea I totally missed you mentioned 0.70 before good to know tho!
0 reply
0 recast
1 reaction