API Docs for: 0.2.2
Show:

R.ReactCreateClass Class

Method definition that complements React.createClass.
Used to compute an instance of a React component

Methods

__ReactOnRailsSurrogate

(
  • context
  • props
  • initialState
)
Object

Returns an instance of a component by React context, the property and a defined state

Parameters:

  • context Object

    The context of the future component

  • props Object

    The props of the future component

  • initialState Object

    The state of the future component

Returns:

Object:

instance The created component instance

restoreVanillaCreateClass

()

Function to use if you want restore native function of React.createClass