I really like our ReactLayersMixin plugin and we should open source it. It allows us to implement not just the render function, but also the renderLayers function. The render is the same as its always been (describe your structure at any point in time. The renderLayers API allows you to describe your modal layers at any point in time. So that means you can open and close layers as a function of props/state just like your render() function can "react" to props/state.
Assigning to @yungsters who mastered the React/Layers stuff on FB's stack, but @petehunt also has great experience using and building out layers integration with React. So whoever has time/need.
I really like our
ReactLayersMixinplugin and we should open source it. It allows us to implement not just therenderfunction, but also therenderLayersfunction. Therenderis the same as its always been (describe your structure at any point in time. TherenderLayersAPI allows you to describe your modal layers at any point in time. So that means you can open and close layers as a function ofprops/statejust like yourrender()function can "react" toprops/state.Assigning to @yungsters who mastered the React/Layers stuff on FB's stack, but @petehunt also has great experience using and building out layers integration with React. So whoever has time/need.