Problem in setting calling ref
inside context api consumer
#22750
Labels
Resolution: Locked
This issue was locked by the bot.
ref
inside context api consumer
#22750
Environment
Run
react-native info
in your terminal and paste its contents here.Description
I tried to call
ref
and set this in to react context's state. However, when I use this inside theconsumer
,ref
is not called. See below demo for more detail.Reproducible Demo
I've uploaded my code in repo. Hope you can test this out.
In MainStackNavigator.js
The text was updated successfully, but these errors were encountered: