I hereby claim:
- I am bfly2000 on github.
- I am benfleisch (https://keybase.io/benfleisch) on keybase.
- I have a public key ASBYzIzhO_sENs9aeKKUHfXq_F6psJmeb-qSXQ4kCWUclwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
import sri.core.{ComponentConstructor, ReactClass} | |
import scala.scalajs.js | |
import scala.scalajs.js.ConstructorTag | |
object LcHoc { | |
def apply[T <: ReactClass {type PropsType; type StateType}](params: js.UndefOr[LcHocParams] = js.undefined) | |
(implicit tag: ConstructorTag[T]): ComponentConstructor { | |
type ComponentType = T | |
type PropsType = T#PropsType |
View this code at http://livecoding.io/3682673
View this code at http://livecoding.io/3682655