-
-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no component rerender on React Native Hermes engine with disabled suspense and useQuery #1179
Comments
Whats the status on this @vicary ? We're facing similar issues on the useTransactionQuery. It works when replacing
with
Screen.Recording.2023-02-22.at.12.05.15.mov |
@bkniffler Hermes needs it's own care, especially when paired with concurrency mode and suspense. When I start working on this one I'll crunch through all the workarounds and make it stable. |
Sorry for not being clear, its not about hermes in my case, its about the |
@bkniffler Is it only happening in response to user interactions? Please help me reproduce this by updating this one https://stackblitz.com/edit/nextjs-nzmtym?file=pages/index.tsx |
I've tried to reproduce it, but unfortunately couldn't. Would have to dig deeper into this, but its surely an issue with the dispatch. |
Please take your time, depends on the result I may move it to a separate issue for easier tracking. |
Hello and thanks for great library!
We are using
useQuery
hook in React Native framework with Hermes engine andsuspense: false
option.When using V8 engine (enabled in debug mode) everything is fine, however something is wrong with
useQuery
on Hermes engine. Components do not rerender when receiving server response. We are founduseDeferDispatch
function doesn't work properly inside@gqty/react/common.js
maybe due to some effects/promises/timeouts race.As a workaround we are currently using patch-package with following patch, it works fine for our requests:
@gqty+react+3.0.0-alpha-74109b4.0.patch
Please help to make it work properly on Hermes engine.
The text was updated successfully, but these errors were encountered: