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
I noticed a bug in withStaticQuery where if you update the query without remounting the component it will still fetch old data and will alternate between new and old data which causes all sorts of problems.
I noticed a bug in
withStaticQuery
where if you update the query without remounting the component it will still fetch old data and will alternate between new and old data which causes all sorts of problems.I think it's related to these lines:
grapher-react/lib/withStaticQuery.js
Lines 16 to 30 in 0d7e8c3
In
componentWillReceiveProps
interval should be reset and started with a newquery
from props.The text was updated successfully, but these errors were encountered: