Problem: You want to hide a component, but still preload data and remember...


Problem: You want to hide a component, but still preload data and remember it's local state while hidden.

Solution: React's new <Activity> component.

It's handy, though I don't find the name <Activity> intuitive. I think of it as <HideOrShow>.

View original on X