react-subcomponent
A stateless react component
Usage
Parent that holds state:
;; Component { super; thisstate = // some state } { return <Child parent=this/> ; }
Child that has no state but can access and set its parents state:
;; { this // sets parents state } { return <div onClick=thishandleClick> thisstate // gets parents state </div> ; }