StatelessComponent

@JSType abstract class StatelessComponent extends Component
Companion
object
class Component
class Component
class Object
trait Any
class Object
trait Matchable
class Any

Type members

Types

type State = Unit

Inherited types

type Props
Inherited from
Component
type Snapshot
Inherited from
Component

Value members

Concrete methods

@ExposedJSMember

Inherited methods

@ExposedJSMember
def componentDidCatch(error: Error, info: ErrorBoundaryInfo): Unit
Inherited from
Component
@ExposedJSMember
def componentDidMount(): Unit
Inherited from
Component
@ExposedJSMember
def componentDidUpdate(prevProps: Props, prevState: State, snapshot: Snapshot): Unit
Inherited from
Component
@ExposedJSMember
def componentDidUpdate(prevProps: Props, prevState: State): Unit
Inherited from
Component
@ExposedJSMember
def componentWillMount(): Unit
Inherited from
Component
@ExposedJSMember
def componentWillReceiveProps(nextProps: Props): Unit
Inherited from
Component
@ExposedJSMember
Inherited from
Component
@ExposedJSMember
def componentWillUpdate(nextProps: Props, nextState: State): Unit
Inherited from
Component
def forceUpdate(callback: Function0[Unit]): Unit
Inherited from
Component
def forceUpdate(): Unit
Inherited from
Component
@ExposedJSMember
def getSnapshotBeforeUpdate(prevProps: Props, prevState: State): Snapshot
Inherited from
Component
def hasOwnProperty(v: String): Boolean
Inherited from
Object
def isPrototypeOf(v: Object): Boolean
Inherited from
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from
Object
@ExposedJSMember
final def props: Props
Inherited from
Component
@ExposedJSMember
Inherited from
Component
@ExposedJSMember
final def setState(fn: (State, Props) => State, callback: () => Unit): Unit
Inherited from
Component
@ExposedJSMember
final def setState(fn: State => State, callback: () => Unit): Unit
Inherited from
Component
@ExposedJSMember
final def setState(s: State, callback: () => Unit): Unit
Inherited from
Component
@ExposedJSMember
final def setState(fn: (State, Props) => State): Unit
Inherited from
Component
@ExposedJSMember
final def setState(fn: State => State): Unit
Inherited from
Component
@ExposedJSMember
final def setState(s: State): Unit
Inherited from
Component
@ExposedJSMember
def shouldComponentUpdate(nextProps: Props, nextState: State): Boolean
Inherited from
Component
@ExposedJSMember
final def state: State
Inherited from
Component
def toLocaleString(): String
Inherited from
Object
def valueOf(): Any
Inherited from
Object