Skip to content

How to use with native modules? #3803

Answered by zim32
zim32 asked this question in Q&A
Nov 17, 2022 · 6 comments · 9 replies
Discussion options

You must be logged in to vote

Ok. Here is code sandbox example. Tell me what I am doing wrong?

https://codesandbox.io/s/friendly-fire-ssbdeg?file=/index.html

If you open browser console you will see

Cannot read properties of null (reading '__H')

If you remove useState from TestApp component it will work.

Replies: 6 comments 9 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@rschristian
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
8 replies
@zim32
Comment options

@rschristian
Comment options

@zim32
Comment options

@zim32
Comment options

@rschristian
Comment options

Answer selected by zim32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #3802 on November 17, 2022 20:15.