News for hackers. Stuff that matters.
Re:Making SetInterval Declarative with React Hooks by stefanfisk on Monday February 04, 2019 @03:08AM (#19074693)
Look into portals https://reactjs.org/docs/portals.html. The menu should probably be owned by a shared component somewhere in the root of the tree, and then children can ask it to open via handlers propagated somehow (context, redux, whatever).

There are no comments on this comment yet.