Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newtype ShimComponent = ShimComponent JSRep
- shimComponent :: ShimComponent
- rerenderShim :: ComponentRef -> IO ()
- newtype ComponentRef = ComponentRef JSRep
Documentation
newtype ShimComponent Source #
Returns a reference to the javascript *class* definition of the shim wrapper around ReactPureComponent
Instances
shimComponent :: ShimComponent Source #
This returns the javascript class definition of ShimComponent. There is ever only one shim class, so it is purely available
rerenderShim :: ComponentRef -> IO () Source #
Rerenders an instance of a component created using ShimComponent.
newtype ComponentRef Source #
This is used store the react "ref" to a javascript instance of a react Component.