Package-level declarations

Types

Link copied to clipboard
external interface CaughtErrorInfo : ErrorInfo
Link copied to clipboard
typealias ErrorHandler<I> = (error: JsError, errorInfo: I) -> Unit
Link copied to clipboard
external interface ErrorInfo
Link copied to clipboard
external interface HydrationOptions
Link copied to clipboard
external object REACT_FORM_STATE_SIGIL : Symbol
Link copied to clipboard
external interface RecoverableErrorInfo : ErrorInfo
Link copied to clipboard
external interface Root
Link copied to clipboard
external interface RootOptions
Link copied to clipboard
external interface UncaughtErrorInfo : ErrorInfo

Functions

Link copied to clipboard
external fun createRoot(container: Document, options: RootOptions = definedExternally): Root
external fun createRoot(container: DocumentFragment, options: RootOptions = definedExternally): Root
external fun createRoot(container: Element, options: RootOptions = definedExternally): Root
Link copied to clipboard
external fun hydrateRoot(container: Document, initialChildren: ReactNode, options: HydrationOptions = definedExternally): Root
external fun hydrateRoot(container: Element, initialChildren: ReactNode, options: HydrationOptions = definedExternally): Root