Double calls in React #111
adamhenderson
started this conversation in
General
Replies: 1 comment 1 reply
-
Thanks Adam, yeah that might be it. IMO the best solution is still to have a timestamp in the state (for caching) to avoid reloading because of the component life. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @ia3andy (Andy), just watched your Quarkus Insight 92 Quinoa stream and you saw double calls being made, I have seen this also and believe it is related to React Strict mode: https://reactjs.org/docs/strict-mode.html which intentionally double renders components which could be causing this.
Beta Was this translation helpful? Give feedback.
All reactions