with-hocs
{ return <h1>HELLO propscapitalized!</h1>;} // pass high-order components via hocs propsconst Enhance = Sample; ... const hocs = ; // <Enhance hocs={hocs} name="sydney" /> → HELLO SYDNEY!
{ return <h1>HELLO propscapitalized!</h1>;} // pass high-order components via hocs propsconst Enhance = Sample; ... const hocs = ; // <Enhance hocs={hocs} name="sydney" /> → HELLO SYDNEY!
npm i with-hocs
0
1.0.0
MIT
8.84 kB
8