Hello! I've followed the official example, then I migrated it to react hooks API and its working with React.useState()! But, if I switch to React.useReducer() or redux. The indicator doesn't show up, which means its always false (even if my initial state is true).
Steps to Reproduce / Code Snippets
Steps:
Clone the app on master branch.
Run command yarn install.
Execute the app with command npx expo start -c
Wait for the metro bundler and Expo server to be ready.
Scan QR code with device OR open on emulator (if exist on your machine).
Open the app on Expo Go app.
On the 1st screen press on a button labeled as "Navigate to chatbot".
Issue Description
Hello! I've followed the official example, then I migrated it to react hooks API and its working with
React.useState()
! But, if I switch toReact.useReducer()
or redux. The indicator doesn't show up, which means its alwaysfalse
(even if my initial state istrue
).Steps to Reproduce / Code Snippets
Steps:
master
branch.yarn install
.npx expo start -c
Links:
And this is the code snippet:
Expected Results
The indicator must appear on the top left side of the screen of ChatBot initially before showing any expressions or replies.
Additional Information