You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it expected that withQuery runs twice?
The first time the query return 'undefined' and the second time it returns what is expected.
Also inserting console.log inside the function defined on withQuery and on PostList reveals that it runs twice.
I have a similar setup to the simple usage example: https://github.com/cult-of-coders/grapher-react#simple-usage
The text was updated successfully, but these errors were encountered:
@stigfaerch it depends on your high order component, maybe that Component sends props 2 times based on a state or something ? A quick reproduction can be very helpful
Is it expected that withQuery runs twice?
The first time the query return 'undefined' and the second time it returns what is expected.
Also inserting console.log inside the function defined on withQuery and on PostList reveals that it runs twice.
I have a similar setup to the simple usage example:
https://github.com/cult-of-coders/grapher-react#simple-usage
The text was updated successfully, but these errors were encountered: