- Preparing search index...
- The search index is not available
@formeum/core
Function createUseCurrentContextPrivate
- createUseCurrentContext<Values, ExtraContext>(__namedParameters: CreateUseCurrentContextDependencies<Values, ExtraContext>): (() => Readonly<MutableRefObject<ContextMainInterface<Values, ExtraContext>>>)
-
Type Parameters
-
Values extends BaseValues
-
ExtraContext extends Record<string, unknown>
Returns (() => Readonly<MutableRefObject<ContextMainInterface<Values, ExtraContext>>>)
Use the context as a ref object, and never trigger a re-render.
Returns