cheatcode / joystick

A full-stack JavaScript framework for building stable, easy-to-maintain apps and websites.
https://cheatcode.co/joystick
Other
209 stars 11 forks source link

Document: Pattern > Parent Fetches Initial Data, Child Refetches Its Own Data #361

Closed rglover closed 2 months ago

rglover commented 11 months ago

Using this in the Push dashboard for instances. On page load, I have the parent fetch all of the instances but then once rendered, I let the instance components refetch their own data (they have statistics that update and it's cheaper to refetch one at a time vs. the entire batch)