Package-level declarations

Functions

Link copied to clipboard
external fun <S> useActionStateRaw(action: (state: S) -> PromiseResult<S>, initialState: S, permalink: String? = definedExternally): ActionStateInstance1<S>
external fun <S, P> useActionStateRaw(action: (state: S, payload: P) -> PromiseResult<S>, initialState: S, permalink: String? = definedExternally): ActionStateInstance2<S, P>
Link copied to clipboard
external fun <T : Function<*>> useCallbackRaw(callback: T, dependencies: ReadonlyArray<Any?>): T
external fun <T : RefCallback<*>> useCallbackRaw(callback: T, dependencies: ReadonlyArray<Any?>): T
Link copied to clipboard
external fun useEffectRaw(effect: () -> Cleanup?, dependencies: ReadonlyArray<Any?> = definedExternally)
Link copied to clipboard
external fun <T : Any> useImperativeHandleRaw(ref: Ref<T>?, init: () -> T?, dependencies: ReadonlyArray<Any?>)
Link copied to clipboard
external fun useInsertionEffectRaw(effect: () -> Cleanup?, dependencies: ReadonlyArray<Any?> = definedExternally)
Link copied to clipboard
external fun useLayoutEffectRaw(effect: () -> Cleanup?, dependencies: ReadonlyArray<Any?> = definedExternally)
Link copied to clipboard
external fun <T> useMemoRaw(callback: () -> T, dependencies: ReadonlyArray<Any?>): T