Re:Introducing Hooks
by dceddia on Friday October 26, 2018 @10:38AM
(#18309581)
I think the recommended pattern if you need a "conditional effect" would be to just move the `if (expanded)` inside the effect instead of wrapping it.
[ Parent
| on HN ]
There are no comments on this comment yet.