api documentation for react (16.4.0)

React is a JavaScript library for building user interfaces.

table of contents

  1. module react
    1. function react.Component (props, context, updater)
    2. function react.PureComponent (props, context, updater)
    3. function react.cloneElement (element, props, children)
    4. function react.createContext (defaultValue, calculateChangedBits)
    5. function react.createElement (type, props, children)
    6. function react.createFactory (type)
    7. function react.createRef ()
    8. function react.forwardRef (render)
    9. function react.isValidElement (object)
    10. object react.Children
    11. object react.Component.prototype
    12. object react.PureComponent.prototype
    13. object react.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED
    14. object react.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactDebugCurrentFrame
    15. object react.react_development
    16. string react.version
    17. symbol react.Fragment
    18. symbol react.StrictMode
    19. symbol react.unstable_AsyncMode
    20. symbol react.unstable_Profiler
  2. module react.Children
    1. function react.Children.count (children)
    2. function react.Children.forEach (children, forEachFunc, forEachContext)
    3. function react.Children.map (children, func, context)
    4. function react.Children.only (children)
    5. function react.Children.toArray (children)
  3. module react.Component
    1. function react.Component (props, context, updater)
  4. module react.Component.prototype
    1. function react.Component.prototype.forceUpdate (callback)
    2. function react.Component.prototype.setState (partialState, callback)
    3. object react.Component.prototype.isReactComponent
  5. module react.PureComponent
    1. function react.PureComponent (props, context, updater)
  6. module react.PureComponent.prototype
    1. boolean react.PureComponent.prototype.isPureReactComponent
    2. function react.PureComponent.prototype.constructor (props, context, updater)
    3. function react.PureComponent.prototype.forceUpdate (callback)
    4. function react.PureComponent.prototype.setState (partialState, callback)
    5. object react.PureComponent.prototype.isReactComponent
  7. module react.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED
    1. function react.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.assign ()
    2. object react.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactComponentTreeHook
    3. object react.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner
    4. object react.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactDebugCurrentFrame
  8. module react.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactDebugCurrentFrame
    1. function react.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactDebugCurrentFrame.getStackAddendum ()
    2. object react.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactDebugCurrentFrame.getCurrentStack
  9. module react.react_development
    1. function react.react_development.Component (props, context, updater)
    2. function react.react_development.PureComponent (props, context, updater)
    3. function react.react_development.cloneElement (element, props, children)
    4. function react.react_development.createContext (defaultValue, calculateChangedBits)
    5. function react.react_development.createElement (type, props, children)
    6. function react.react_development.createFactory (type)
    7. function react.react_development.createRef ()
    8. function react.react_development.forwardRef (render)
    9. function react.react_development.isValidElement (object)
    10. object react.react_development.Children
    11. object react.react_development.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED
    12. string react.react_development.version
    13. symbol react.react_development.Fragment
    14. symbol react.react_development.StrictMode
    15. symbol react.react_development.unstable_AsyncMode
    16. symbol react.react_development.unstable_Profiler

module react

function react.Component (props, context, updater)

function react.PureComponent (props, context, updater)

function react.cloneElement (element, props, children)

function react.createContext (defaultValue, calculateChangedBits)

function react.createElement (type, props, children)

function react.createFactory (type)

function react.createRef ()

function react.forwardRef (render)

function react.isValidElement (object)

module react.Children

function react.Children.count (children)

function react.Children.forEach (children, forEachFunc, forEachContext)

function react.Children.map (children, func, context)

function react.Children.only (children)

function react.Children.toArray (children)

module react.Component

function react.Component (props, context, updater)

module react.Component.prototype

function react.Component.prototype.forceUpdate (callback)

function react.Component.prototype.setState (partialState, callback)

module react.PureComponent

function react.PureComponent (props, context, updater)

module react.PureComponent.prototype

function react.PureComponent.prototype.constructor (props, context, updater)

function react.PureComponent.prototype.forceUpdate (callback)

function react.PureComponent.prototype.setState (partialState, callback)

module react.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED

function react.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.assign ()

module react.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactDebugCurrentFrame

function react.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactDebugCurrentFrame.getStackAddendum ()

module react.react_development

function react.react_development.Component (props, context, updater)

function react.react_development.PureComponent (props, context, updater)

function react.react_development.cloneElement (element, props, children)

function react.react_development.createContext (defaultValue, calculateChangedBits)

function react.react_development.createElement (type, props, children)

function react.react_development.createFactory (type)

function react.react_development.createRef ()

function react.react_development.forwardRef (render)

function react.react_development.isValidElement (object)

[ this document was created with utility2 ]