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
Currently, HoneyquestRoot + ProfileCard + ProfileInfo use manual data fetching and are tangled up badly with the global state machine. We should possibly remove the entire state machine because we don't need it, instead, we could pass down props like the profile and cache them just fine with react-query in the root component.
Introducing react-query with the current state machine did not work out well because the hooks are invalidated because of the ugly async state machine.
The text was updated successfully, but these errors were encountered:
blu3r4y
changed the title
Remove global states and use react-query everywhere
Remove global states and use react-query everywhere [TR-547]
Aug 20, 2024
Currently,
HoneyquestRoot
+ProfileCard
+ProfileInfo
use manual data fetching and are tangled up badly with the global state machine. We should possibly remove the entire state machine because we don't need it, instead, we could pass down props like the profile and cache them just fine withreact-query
in the root component.Introducing
react-query
with the current state machine did not work out well because the hooks are invalidated because of the ugly async state machine.The text was updated successfully, but these errors were encountered: