the.bay.news

React's Activity Component: Hide UI Without Losing Its State

DEV Community
React's Activity Component: Hide UI Without Losing Its State
React 19.2's Activity component hides a subtree instead of unmounting it, so state, scroll position, and DOM survive the round trip. Here's how it behaves, what it does to your Effects, and where it costs you.

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.