RComponent

abstract class RComponent<P : Props, S : State> : Component<P, S> (source)

Constructors

Link copied to clipboard
constructor()
constructor(props: P)

Properties

Link copied to clipboard
val props: P
Link copied to clipboard
var state: S

Functions

Link copied to clipboard
open fun componentDidCatch(error: Throwable, info: ErrorInfo)
Link copied to clipboard
Link copied to clipboard
open fun componentDidUpdate(prevProps: P, prevState: S, snapshot: Any)
Link copied to clipboard
Link copied to clipboard
open fun componentWillReceiveProps(nextProps: P)
Link copied to clipboard
Link copied to clipboard
open fun componentWillUpdate(nextProps: P, nextState: S)
Link copied to clipboard
fun forceUpdate(callback: () -> Unit)
Link copied to clipboard
open fun getSnapshotBeforeUpdate(prevProps: P, prevState: S): Any
Link copied to clipboard
open fun S.init()
open fun S.init(props: P)
Link copied to clipboard
open override fun render(): ReactElement<Props>?
abstract fun RBuilder.render()
Link copied to clipboard
fun setState(partialState: S, callback: () -> Unit)
fun setState(transformState: (S) -> S, callback: () -> Unit)
Link copied to clipboard
fun <S : State> Component<*, S>.setState(buildState: S.() -> Unit)
Link copied to clipboard
open fun shouldComponentUpdate(nextProps: P, nextState: S): Boolean
Link copied to clipboard
Link copied to clipboard
open fun UNSAFE_componentWillReceiveProps(nextProps: P)
Link copied to clipboard
open fun UNSAFE_componentWillUpdate(nextProps: P, nextState: S)