Roblox/roact-rodux

Component to block updates below it temporarily

LPGhatguy opened this issue · 0 comments

I want to hide some stuff without destroying it, but also block any Rodux updates until that piece is visible again.

Having a BlockStoreUpdates component would be helpful. It would essentially expose a signal that re-fires the changed event from the store, but only when it's enabled. Then, you can hide a part by updating its prop, as well as the visibility of the top-level container for the page.