Packages

final class Subsequent[P, Ctx, CtxFn[_]] extends SecondaryWithRender[P, Varargs, Ctx, CtxFn, SubsequentStep[P, Ctx, CtxFn]]

Linear Supertypes
SecondaryWithRender[P, Varargs, Ctx, CtxFn, SubsequentStep[P, Ctx, CtxFn]], Secondary[Ctx, CtxFn, SubsequentStep[P, Ctx, CtxFn]], PrimaryWithRender[P, Varargs, Ctx, SubsequentStep[P, Ctx, CtxFn]], Primary[Ctx, SubsequentStep[P, Ctx, CtxFn]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Subsequent
  2. SecondaryWithRender
  3. Secondary
  4. PrimaryWithRender
  5. Primary
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Subsequent(displayName: String)(renderFn: RenderFn[P, Ctx])

Type Members

  1. final type Step = SubsequentStep[P, Ctx, CtxFn]
    Definition Classes
    Primary

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def custom[I, O](hook: CustomHook[I, O])(implicit step: Step, a: Arg[Ctx, I], d: DynamicNextStep[O]): OneOf[Api.Primary._Step.Self, Api.Primary._Step.Next[O]]

    Use a custom hook

    Use a custom hook

    Definition Classes
    Primary
  7. final def customBy[O](hook: CtxFn[CustomHook[Unit, O]])(implicit step: Step, d: DynamicNextStep[O]): OneOf[Api.Secondary._Step.Self, Api.Secondary._Step.Next[O]]

    Use a custom hook

    Use a custom hook

    Definition Classes
    Secondary
  8. final def customBy[O](hook: (Ctx) => CustomHook[Unit, O])(implicit step: Step, d: DynamicNextStep[O]): OneOf[Api.Primary._Step.Self, Api.Primary._Step.Next[O]]

    Use a custom hook

    Use a custom hook

    Definition Classes
    Primary
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def localLazyVal[A](a: => A)(implicit step: Step): Api.Primary._Step.Next[() => A]

    Create a new local lazy val on each render.

    Create a new local lazy val on each render.

    Definition Classes
    Primary
  16. final def localLazyValBy[A](f: CtxFn[A])(implicit step: Step): Api.Secondary._Step.Next[() => A]

    Create a new local lazy val on each render.

    Create a new local lazy val on each render.

    Definition Classes
    Secondary
  17. final def localLazyValBy[A](f: (Ctx) => A)(implicit step: Step): Api.Primary._Step.Next[() => A]

    Create a new local lazy val on each render.

    Create a new local lazy val on each render.

    Definition Classes
    Primary
  18. final def localVal[A](a: => A)(implicit step: Step): Api.Primary._Step.Next[A]

    Create a new local val on each render.

    Create a new local val on each render.

    Definition Classes
    Primary
  19. final def localValBy[A](f: CtxFn[A])(implicit step: Step): Api.Secondary._Step.Next[A]

    Create a new local val on each render.

    Create a new local val on each render.

    Definition Classes
    Secondary
  20. final def localValBy[A](f: (Ctx) => A)(implicit step: Step): Api.Primary._Step.Next[A]

    Create a new local val on each render.

    Create a new local val on each render.

    Definition Classes
    Primary
  21. final def localVar[A](a: => A)(implicit step: Step): Api.Primary._Step.Next[Var[A]]

    Create a new local var on each render.

    Create a new local var on each render.

    Definition Classes
    Primary
  22. final def localVarBy[A](f: CtxFn[A])(implicit step: Step): Api.Secondary._Step.Next[Var[A]]

    Create a new local var on each render.

    Create a new local var on each render.

    Definition Classes
    Secondary
  23. final def localVarBy[A](f: (Ctx) => A)(implicit step: Step): Api.Primary._Step.Next[Var[A]]

    Create a new local var on each render.

    Create a new local var on each render.

    Definition Classes
    Primary
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. def next[H](f: (Ctx) => H)(implicit step: Step): SubsequentStep.Next[H]
    Attributes
    protected
    Definition Classes
    SubsequentPrimary
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. def render(f: (Ctx) => VdomNode)(implicit s: Summoner[Box[P], Varargs]): Component[P, CT]
    Definition Classes
    SubsequentPrimaryWithRender
  29. final def render(f: CtxFn[VdomNode])(implicit step: Step, s: Summoner[Box[P], Varargs]): Component[P, CT]
    Definition Classes
    SecondaryWithRender
  30. final def renderReusable[A](f: CtxFn[Reusable[A]])(implicit step: Step, s: Summoner[Box[P], Varargs], v: (A) => VdomNode): Component[P, CT]
    Definition Classes
    SecondaryWithRender
  31. final def renderReusable[A](f: (Ctx) => Reusable[A])(implicit s: Summoner[Box[P], Varargs], v: (A) => VdomNode): Component[P, CT]
    Definition Classes
    PrimaryWithRender
  32. final def renderWithReuse(f: CtxFn[VdomNode])(implicit step: Step, s: Summoner[Box[P], Varargs], r: Reusability[Ctx]): Component[P, CT]
    Definition Classes
    SecondaryWithRender
  33. final def renderWithReuse(f: (Ctx) => VdomNode)(implicit s: Summoner[Box[P], Varargs], r: Reusability[Ctx]): Component[P, CT]
    Definition Classes
    PrimaryWithRender
  34. def renderWithReuseBy[A](reusableInputs: (Ctx) => A)(f: (A) => VdomNode)(implicit s: Summoner[Box[P], Varargs], r: Reusability[A]): Component[P, CT]
    Definition Classes
    SubsequentPrimaryWithRender
  35. final def renderWithReuseBy[A](reusableInputs: CtxFn[A])(f: (A) => VdomNode)(implicit step: Step, s: Summoner[Box[P], Varargs], r: Reusability[A]): Component[P, CT]
    Definition Classes
    SecondaryWithRender
  36. def self(f: (Ctx) => Any)(implicit step: Step): Self
    Attributes
    protected
    Definition Classes
    SubsequentPrimary
  37. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  38. def toString(): String
    Definition Classes
    AnyRef → Any
  39. final def unchecked[A](f: => A)(implicit step: Step, d: DynamicNextStep[A]): OneOf[Api.Primary._Step.Self, Api.Primary._Step.Next[A]]

    Provides you with a means to do whatever you want without the static guarantees that the normal DSL provides.

    Provides you with a means to do whatever you want without the static guarantees that the normal DSL provides. It's up to you to ensure you don't vioalte React's hook rules.

    Definition Classes
    Primary
  40. final def uncheckedBy[A](f: CtxFn[A])(implicit step: Step, d: DynamicNextStep[A]): OneOf[Api.Secondary._Step.Self, Api.Secondary._Step.Next[A]]

    Provides you with a means to do whatever you want without the static guarantees that the normal DSL provides.

    Provides you with a means to do whatever you want without the static guarantees that the normal DSL provides. It's up to you to ensure you don't vioalte React's hook rules.

    Definition Classes
    Secondary
  41. final def uncheckedBy[A](f: (Ctx) => A)(implicit step: Step, d: DynamicNextStep[A]): OneOf[Api.Primary._Step.Self, Api.Primary._Step.Next[A]]

    Provides you with a means to do whatever you want without the static guarantees that the normal DSL provides.

    Provides you with a means to do whatever you want without the static guarantees that the normal DSL provides. It's up to you to ensure you don't vioalte React's hook rules.

    Definition Classes
    Primary
  42. final def useCallback[A](callback: A)(implicit a: UseCallbackArg[A], step: Step): Api.Primary._Step.Next[Reusable[A]]

    Returns a memoized callback.

    Returns a memoized callback.

    Definition Classes
    Primary
    See also

    https://reactjs.org/docs/hooks-reference.html#usecallback

  43. final def useCallbackBy[A](callback: CtxFn[A])(implicit a: UseCallbackArg[A], step: Step): Api.Secondary._Step.Next[Reusable[A]]

    Returns a memoized callback.

    Returns a memoized callback.

    Definition Classes
    Secondary
    See also

    https://reactjs.org/docs/hooks-reference.html#usecallback

  44. final def useCallbackBy[A](callback: (Ctx) => A)(implicit a: UseCallbackArg[A], step: Step): Api.Primary._Step.Next[Reusable[A]]

    Returns a memoized callback.

    Returns a memoized callback.

    Definition Classes
    Primary
    See also

    https://reactjs.org/docs/hooks-reference.html#usecallback

  45. final def useCallbackWithDeps[D, A](deps: => D)(callback: (D) => A)(implicit a: UseCallbackArg[A], r: Reusability[D], step: Step): Api.Primary._Step.Next[Reusable[A]]

    Returns a memoized callback.

    Returns a memoized callback.

    Pass an inline callback and dependencies. useCallback will return a memoized version of the callback that only changes if one of the dependencies has changed. This is useful when passing callbacks to optimized child components that rely on reference equality to prevent unnecessary renders.

    Definition Classes
    Primary
    See also

    https://reactjs.org/docs/hooks-reference.html#usecallback

  46. final def useCallbackWithDepsBy[D, A](deps: CtxFn[D])(callback: CtxFn[(D) => A])(implicit a: UseCallbackArg[A], r: Reusability[D], step: Step): Api.Secondary._Step.Next[Reusable[A]]

    Returns a memoized callback.

    Returns a memoized callback.

    Pass an inline callback and dependencies. useCallback will return a memoized version of the callback that only changes if one of the dependencies has changed. This is useful when passing callbacks to optimized child components that rely on reference equality to prevent unnecessary renders.

    Definition Classes
    Secondary
    See also

    https://reactjs.org/docs/hooks-reference.html#usecallback

  47. final def useCallbackWithDepsBy[D, A](deps: (Ctx) => D)(callback: (Ctx) => (D) => A)(implicit a: UseCallbackArg[A], r: Reusability[D], step: Step): Api.Primary._Step.Next[Reusable[A]]

    Returns a memoized callback.

    Returns a memoized callback.

    Pass an inline callback and dependencies. useCallback will return a memoized version of the callback that only changes if one of the dependencies has changed. This is useful when passing callbacks to optimized child components that rely on reference equality to prevent unnecessary renders.

    Definition Classes
    Primary
    See also

    https://reactjs.org/docs/hooks-reference.html#usecallback

  48. final def useContext[A](ctx: Context[A])(implicit step: Step): Api.Primary._Step.Next[A]

    Accepts a context object and returns the current context value for that context.

    Accepts a context object and returns the current context value for that context. The current context value is determined by the value prop of the nearest <MyContext.Provider> above the calling component in the tree.

    When the nearest <MyContext.Provider> above the component updates, this Hook will trigger a rerender with the latest context value passed to that MyContext provider. Even if an ancestor uses React.memo or shouldComponentUpdate, a rerender will still happen starting at the component itself using useContext.

    A component calling useContext will always re-render when the context value changes. If re-rendering the component is expensive, you can optimize it by using memoization.

    useContext(MyContext) only lets you read the context and subscribe to its changes. You still need a <MyContext.Provider> above in the tree to provide the value for this context.

    Definition Classes
    Primary
    See also

    https://reactjs.org/docs/hooks-reference.html#usecontext

  49. final def useContextBy[A](f: CtxFn[Context[A]])(implicit step: Step): Api.Secondary._Step.Next[A]

    Accepts a context object and returns the current context value for that context.

    Accepts a context object and returns the current context value for that context. The current context value is determined by the value prop of the nearest <MyContext.Provider> above the calling component in the tree.

    When the nearest <MyContext.Provider> above the component updates, this Hook will trigger a rerender with the latest context value passed to that MyContext provider. Even if an ancestor uses React.memo or shouldComponentUpdate, a rerender will still happen starting at the component itself using useContext.

    A component calling useContext will always re-render when the context value changes. If re-rendering the component is expensive, you can optimize it by using memoization.

    useContext(MyContext) only lets you read the context and subscribe to its changes. You still need a <MyContext.Provider> above in the tree to provide the value for this context.

    Definition Classes
    Secondary
    See also

    https://reactjs.org/docs/hooks-reference.html#usecontext

  50. final def useContextBy[A](f: (Ctx) => Context[A])(implicit step: Step): Api.Primary._Step.Next[A]

    Accepts a context object and returns the current context value for that context.

    Accepts a context object and returns the current context value for that context. The current context value is determined by the value prop of the nearest <MyContext.Provider> above the calling component in the tree.

    When the nearest <MyContext.Provider> above the component updates, this Hook will trigger a rerender with the latest context value passed to that MyContext provider. Even if an ancestor uses React.memo or shouldComponentUpdate, a rerender will still happen starting at the component itself using useContext.

    A component calling useContext will always re-render when the context value changes. If re-rendering the component is expensive, you can optimize it by using memoization.

    useContext(MyContext) only lets you read the context and subscribe to its changes. You still need a <MyContext.Provider> above in the tree to provide the value for this context.

    Definition Classes
    Primary
    See also

    https://reactjs.org/docs/hooks-reference.html#usecontext

  51. final def useDebugValue(desc: => Any)(implicit step: Step): Api.Primary._Step.Self

    Used to display a label for custom hooks in React DevTools.

    Used to display a label for custom hooks in React DevTools.

    Definition Classes
    Primary
    See also

    https://reactjs.org/docs/hooks-reference.html#usedebugvalue

  52. final def useDebugValueBy(f: CtxFn[Any])(implicit step: Step): Api.Secondary._Step.Self

    Used to display a label for custom hooks in React DevTools.

    Used to display a label for custom hooks in React DevTools.

    Definition Classes
    Secondary
    See also

    https://reactjs.org/docs/hooks-reference.html#usedebugvalue

  53. final def useDebugValueBy(desc: (Ctx) => Any)(implicit step: Step): Api.Primary._Step.Self

    Used to display a label for custom hooks in React DevTools.

    Used to display a label for custom hooks in React DevTools.

    Definition Classes
    Primary
    See also

    https://reactjs.org/docs/hooks-reference.html#usedebugvalue

  54. final def useEffect[A](effect: A)(implicit a: UseEffectArg[A], step: Step): Api.Primary._Step.Self

    The callback passed to useEffect will run after the render is committed to the screen.

    The callback passed to useEffect will run after the render is committed to the screen. Think of effects as an escape hatch from React’s purely functional world into the imperative world.

    By default, effects run after every completed render. If you'd only like to execute the effect when your component is mounted, then use useEffectOnMount. If you'd only like to execute the effect when certain values have changed, provide those certain values as the second argument.

    Definition Classes
    Primary
    See also

    https://reactjs.org/docs/hooks-reference.html#useeffect

  55. final def useEffectBy[A](init: CtxFn[A])(implicit a: UseEffectArg[A], step: Step): Api.Secondary._Step.Self

    The callback passed to useEffect will run after the render is committed to the screen.

    The callback passed to useEffect will run after the render is committed to the screen. Think of effects as an escape hatch from React’s purely functional world into the imperative world.

    By default, effects run after every completed render. If you'd only like to execute the effect when your component is mounted, then use useEffectOnMount. If you'd only like to execute the effect when certain values have changed, provide those certain values as the second argument.

    Definition Classes
    Secondary
    See also

    https://reactjs.org/docs/hooks-reference.html#useeffect

  56. final def useEffectBy[A](init: (Ctx) => A)(implicit a: UseEffectArg[A], step: Step): Api.Primary._Step.Self

    The callback passed to useEffect will run after the render is committed to the screen.

    The callback passed to useEffect will run after the render is committed to the screen. Think of effects as an escape hatch from React’s purely functional world into the imperative world.

    By default, effects run after every completed render. If you'd only like to execute the effect when your component is mounted, then use useEffectOnMount. If you'd only like to execute the effect when certain values have changed, provide those certain values as the second argument.

    Definition Classes
    Primary
    See also

    https://reactjs.org/docs/hooks-reference.html#useeffect

  57. final def useEffectOnMount[A](effect: A)(implicit a: UseEffectArg[A], step: Step): Api.Primary._Step.Self

    The callback passed to useEffect will run after the render is committed to the screen.

    The callback passed to useEffect will run after the render is committed to the screen. Think of effects as an escape hatch from React’s purely functional world into the imperative world.

    This will only execute the effect when your component is mounted.

    Definition Classes
    Primary
    See also

    https://reactjs.org/docs/hooks-reference.html#useeffect

  58. final def useEffectOnMountBy[A](effect: CtxFn[A])(implicit a: UseEffectArg[A], step: Step): Api.Secondary._Step.Self

    The callback passed to useEffect will run after the render is committed to the screen.

    The callback passed to useEffect will run after the render is committed to the screen. Think of effects as an escape hatch from React’s purely functional world into the imperative world.

    This will only execute the effect when your component is mounted.

    Definition Classes
    Secondary
    See also

    https://reactjs.org/docs/hooks-reference.html#useeffect

  59. final def useEffectOnMountBy[A](effect: (Ctx) => A)(implicit a: UseEffectArg[A], step: Step): Api.Primary._Step.Self

    The callback passed to useEffect will run after the render is committed to the screen.

    The callback passed to useEffect will run after the render is committed to the screen. Think of effects as an escape hatch from React’s purely functional world into the imperative world.

    This will only execute the effect when your component is mounted.

    Definition Classes
    Primary
    See also

    https://reactjs.org/docs/hooks-reference.html#useeffect

  60. final def useEffectWithDeps[D, A](deps: => D)(effect: (D) => A)(implicit a: UseEffectArg[A], r: Reusability[D], step: Step): Api.Primary._Step.Self

    The callback passed to useEffect will run after the render is committed to the screen.

    The callback passed to useEffect will run after the render is committed to the screen. Think of effects as an escape hatch from React’s purely functional world into the imperative world.

    This will only execute the effect when values in the second argument, change.

    Definition Classes
    Primary
    See also

    https://reactjs.org/docs/hooks-reference.html#useeffect

  61. final def useEffectWithDepsBy[D, A](deps: CtxFn[D])(effect: CtxFn[(D) => A])(implicit a: UseEffectArg[A], r: Reusability[D], step: Step): Api.Secondary._Step.Self

    The callback passed to useEffect will run after the render is committed to the screen.

    The callback passed to useEffect will run after the render is committed to the screen. Think of effects as an escape hatch from React’s purely functional world into the imperative world.

    This will only execute the effect when values in the second argument, change.

    Definition Classes
    Secondary
    See also

    https://reactjs.org/docs/hooks-reference.html#useeffect

  62. final def useEffectWithDepsBy[D, A](deps: (Ctx) => D)(effect: (Ctx) => (D) => A)(implicit a: UseEffectArg[A], r: Reusability[D], step: Step): Api.Primary._Step.Self

    The callback passed to useEffect will run after the render is committed to the screen.

    The callback passed to useEffect will run after the render is committed to the screen. Think of effects as an escape hatch from React’s purely functional world into the imperative world.

    This will only execute the effect when values in the second argument, change.

    Definition Classes
    Primary
    See also

    https://reactjs.org/docs/hooks-reference.html#useeffect

  63. final def useForceUpdate(implicit step: Step): Api.Primary._Step.Next[Reusable[Sync[Unit]]]

    When invoked, forces a re-render of your component.

    When invoked, forces a re-render of your component.

    Definition Classes
    Primary
  64. final def useId(implicit step: Step): Api.Primary._Step.Next[String]

    useId is a React Hook for generating unique IDs that can be passed to accessibility attributes.

    useId is a React Hook for generating unique IDs that can be passed to accessibility attributes.

    Definition Classes
    Primary
    See also

    https://react.dev/reference/react/useId

  65. final def useLayoutEffect[A](effect: A)(implicit a: UseEffectArg[A], step: Step): Api.Primary._Step.Self

    The signature is identical to useEffect, but it fires synchronously after all DOM mutations.

    The signature is identical to useEffect, but it fires synchronously after all DOM mutations. Use this to read layout from the DOM and synchronously re-render. Updates scheduled inside useLayoutEffect will be flushed synchronously, before the browser has a chance to paint.

    Prefer the standard useEffect when possible to avoid blocking visual updates.

    If you'd only like to execute the effect when your component is mounted, then use useLayoutEffectOnMount. If you'd only like to execute the effect when certain values have changed, provide those certain values as the second argument.

    Definition Classes
    Primary
    See also

    https://reactjs.org/docs/hooks-reference.html#useLayoutEffect

  66. final def useLayoutEffectBy[A](init: CtxFn[A])(implicit a: UseEffectArg[A], step: Step): Api.Secondary._Step.Self

    The signature is identical to useEffect, but it fires synchronously after all DOM mutations.

    The signature is identical to useEffect, but it fires synchronously after all DOM mutations. Use this to read layout from the DOM and synchronously re-render. Updates scheduled inside useLayoutEffect will be flushed synchronously, before the browser has a chance to paint.

    Prefer the standard useEffect when possible to avoid blocking visual updates.

    If you'd only like to execute the effect when your component is mounted, then use useLayoutEffectOnMount. If you'd only like to execute the effect when certain values have changed, provide those certain values as the second argument.

    Definition Classes
    Secondary
    See also

    https://reactjs.org/docs/hooks-reference.html#useLayoutEffect

  67. final def useLayoutEffectBy[A](init: (Ctx) => A)(implicit a: UseEffectArg[A], step: Step): Api.Primary._Step.Self

    The signature is identical to useEffect, but it fires synchronously after all DOM mutations.

    The signature is identical to useEffect, but it fires synchronously after all DOM mutations. Use this to read layout from the DOM and synchronously re-render. Updates scheduled inside useLayoutEffect will be flushed synchronously, before the browser has a chance to paint.

    Prefer the standard useEffect when possible to avoid blocking visual updates.

    If you'd only like to execute the effect when your component is mounted, then use useLayoutEffectOnMount. If you'd only like to execute the effect when certain values have changed, provide those certain values as the second argument.

    Definition Classes
    Primary
    See also

    https://reactjs.org/docs/hooks-reference.html#useLayoutEffect

  68. final def useLayoutEffectOnMount[A](effect: A)(implicit a: UseEffectArg[A], step: Step): Api.Primary._Step.Self

    The signature is identical to useEffect, but it fires synchronously after all DOM mutations.

    The signature is identical to useEffect, but it fires synchronously after all DOM mutations. Use this to read layout from the DOM and synchronously re-render. Updates scheduled inside useLayoutEffect will be flushed synchronously, before the browser has a chance to paint.

    Prefer the standard useEffect when possible to avoid blocking visual updates.

    This will only execute the effect when your component is mounted.

    Definition Classes
    Primary
    See also

    https://reactjs.org/docs/hooks-reference.html#useLayoutEffect

  69. final def useLayoutEffectOnMountBy[A](effect: CtxFn[A])(implicit a: UseEffectArg[A], step: Step): Api.Secondary._Step.Self

    The signature is identical to useEffect, but it fires synchronously after all DOM mutations.

    The signature is identical to useEffect, but it fires synchronously after all DOM mutations. Use this to read layout from the DOM and synchronously re-render. Updates scheduled inside useLayoutEffect will be flushed synchronously, before the browser has a chance to paint.

    Prefer the standard useEffect when possible to avoid blocking visual updates.

    This will only execute the effect when your component is mounted.

    Definition Classes
    Secondary
    See also

    https://reactjs.org/docs/hooks-reference.html#useLayoutEffect

  70. final def useLayoutEffectOnMountBy[A](effect: (Ctx) => A)(implicit a: UseEffectArg[A], step: Step): Api.Primary._Step.Self

    The signature is identical to useEffect, but it fires synchronously after all DOM mutations.

    The signature is identical to useEffect, but it fires synchronously after all DOM mutations. Use this to read layout from the DOM and synchronously re-render. Updates scheduled inside useLayoutEffect will be flushed synchronously, before the browser has a chance to paint.

    Prefer the standard useEffect when possible to avoid blocking visual updates.

    This will only execute the effect when your component is mounted.

    Definition Classes
    Primary
    See also

    https://reactjs.org/docs/hooks-reference.html#useLayoutEffect

  71. final def useLayoutEffectWithDeps[D, A](deps: => D)(effect: (D) => A)(implicit a: UseEffectArg[A], r: Reusability[D], step: Step): Api.Primary._Step.Self

    The signature is identical to useEffect, but it fires synchronously after all DOM mutations.

    The signature is identical to useEffect, but it fires synchronously after all DOM mutations. Use this to read layout from the DOM and synchronously re-render. Updates scheduled inside useLayoutEffect will be flushed synchronously, before the browser has a chance to paint.

    Prefer the standard useEffect when possible to avoid blocking visual updates.

    This will only execute the effect when values in the second argument, change.

    Definition Classes
    Primary
    See also

    https://reactjs.org/docs/hooks-reference.html#useLayoutEffect

  72. final def useLayoutEffectWithDepsBy[D, A](deps: CtxFn[D])(effect: CtxFn[(D) => A])(implicit a: UseEffectArg[A], r: Reusability[D], step: Step): Api.Secondary._Step.Self

    The signature is identical to useEffect, but it fires synchronously after all DOM mutations.

    The signature is identical to useEffect, but it fires synchronously after all DOM mutations. Use this to read layout from the DOM and synchronously re-render. Updates scheduled inside useLayoutEffect will be flushed synchronously, before the browser has a chance to paint.

    Prefer the standard useEffect when possible to avoid blocking visual updates.

    This will only execute the effect when values in the second argument, change.

    Definition Classes
    Secondary
    See also

    https://reactjs.org/docs/hooks-reference.html#useLayoutEffect

  73. final def useLayoutEffectWithDepsBy[D, A](deps: (Ctx) => D)(effect: (Ctx) => (D) => A)(implicit a: UseEffectArg[A], r: Reusability[D], step: Step): Api.Primary._Step.Self

    The signature is identical to useEffect, but it fires synchronously after all DOM mutations.

    The signature is identical to useEffect, but it fires synchronously after all DOM mutations. Use this to read layout from the DOM and synchronously re-render. Updates scheduled inside useLayoutEffect will be flushed synchronously, before the browser has a chance to paint.

    Prefer the standard useEffect when possible to avoid blocking visual updates.

    This will only execute the effect when values in the second argument, change.

    Definition Classes
    Primary
    See also

    https://reactjs.org/docs/hooks-reference.html#useLayoutEffect

  74. final def useMemo[D, A](deps: => D)(create: (D) => A)(implicit r: Reusability[D], step: Step): Api.Primary._Step.Next[Reusable[A]]

    Returns a memoized value.

    Returns a memoized value.

    Pass a “create” function and any dependencies. useMemo will only recompute the memoized value when one of the dependencies has changed. This optimization helps to avoid expensive calculations on every render.

    Remember that the function passed to useMemo runs during rendering. Don’t do anything there that you wouldn’t normally do while rendering. For example, side effects belong in useEffect, not useMemo.

    Definition Classes
    Primary
    See also

    https://reactjs.org/docs/hooks-reference.html#usememo

  75. final def useMemoBy[D, A](deps: CtxFn[D])(create: CtxFn[(D) => A])(implicit r: Reusability[D], step: Step): Api.Secondary._Step.Next[Reusable[A]]

    Returns a memoized value.

    Returns a memoized value.

    Pass a “create” function and any dependencies. useMemo will only recompute the memoized value when one of the dependencies has changed. This optimization helps to avoid expensive calculations on every render.

    Remember that the function passed to useMemo runs during rendering. Don’t do anything there that you wouldn’t normally do while rendering. For example, side effects belong in useEffect, not useMemo.

    Definition Classes
    Secondary
    See also

    https://reactjs.org/docs/hooks-reference.html#usememo

  76. final def useMemoBy[D, A](deps: (Ctx) => D)(create: (Ctx) => (D) => A)(implicit r: Reusability[D], step: Step): Api.Primary._Step.Next[Reusable[A]]

    Returns a memoized value.

    Returns a memoized value.

    Pass a “create” function and any dependencies. useMemo will only recompute the memoized value when one of the dependencies has changed. This optimization helps to avoid expensive calculations on every render.

    Remember that the function passed to useMemo runs during rendering. Don’t do anything there that you wouldn’t normally do while rendering. For example, side effects belong in useEffect, not useMemo.

    Definition Classes
    Primary
    See also

    https://reactjs.org/docs/hooks-reference.html#usememo

  77. final def useReducer[S, A](reducer: (S, A) => S, initialState: => S)(implicit step: Step): Api.Primary._Step.Next[UseReducer[S, A]]

    An alternative to useState.

    An alternative to useState. Accepts a reducer of type (state, action) => newState, and returns the current state paired with a dispatch method. (If you’re familiar with Redux, you already know how this works.)

    useReducer is usually preferable to useState when you have complex state logic that involves multiple sub-values or when the next state depends on the previous one. useReducer also lets you optimize performance for components that trigger deep updates because you can pass dispatch down instead of callbacks.

    Definition Classes
    Primary
    See also

    https://reactjs.org/docs/hooks-reference.html#usereducer

  78. final def useReducerBy[S, A](reducer: CtxFn[(S, A) => S], initialState: CtxFn[S])(implicit step: Step): Api.Secondary._Step.Next[UseReducer[S, A]]

    An alternative to useState.

    An alternative to useState. Accepts a reducer of type (state, action) => newState, and returns the current state paired with a dispatch method. (If you’re familiar with Redux, you already know how this works.)

    useReducer is usually preferable to useState when you have complex state logic that involves multiple sub-values or when the next state depends on the previous one. useReducer also lets you optimize performance for components that trigger deep updates because you can pass dispatch down instead of callbacks.

    Definition Classes
    Secondary
    See also

    https://reactjs.org/docs/hooks-reference.html#usereducer

  79. final def useReducerBy[S, A](reducer: (Ctx) => (S, A) => S, initialState: (Ctx) => S)(implicit step: Step): Api.Primary._Step.Next[UseReducer[S, A]]

    An alternative to useState.

    An alternative to useState. Accepts a reducer of type (state, action) => newState, and returns the current state paired with a dispatch method. (If you’re familiar with Redux, you already know how this works.)

    useReducer is usually preferable to useState when you have complex state logic that involves multiple sub-values or when the next state depends on the previous one. useReducer also lets you optimize performance for components that trigger deep updates because you can pass dispatch down instead of callbacks.

    Definition Classes
    Primary
    See also

    https://reactjs.org/docs/hooks-reference.html#usereducer

  80. final def useRef[A](initialValue: => A)(implicit step: Step): Api.Primary._Step.Next[UseRef[A]]

    Create a mutable ref that will persist for the full lifetime of the component.

    Create a mutable ref that will persist for the full lifetime of the component.

    Definition Classes
    Primary
  81. final def useRefBy[A](f: CtxFn[A])(implicit step: Step): Api.Secondary._Step.Next[UseRef[A]]

    Create a mutable ref that will persist for the full lifetime of the component.

    Create a mutable ref that will persist for the full lifetime of the component.

    Definition Classes
    Secondary
  82. final def useRefBy[A](initialValue: (Ctx) => A)(implicit step: Step): Api.Primary._Step.Next[UseRef[A]]

    Create a mutable ref that will persist for the full lifetime of the component.

    Create a mutable ref that will persist for the full lifetime of the component.

    Definition Classes
    Primary
  83. final def useRefToAnyVdom(implicit step: Step): Api.Primary._Step.Next[ToAnyVdom]

    Create a mutable ref that will persist for the full lifetime of the component.

    Create a mutable ref that will persist for the full lifetime of the component.

    Definition Classes
    Primary
  84. final def useRefToJsComponent[F[_], A[_], P1, S1, CT1[-p, +u] <: CtorType[p, u], R <: RawMounted[P0, S0], P0 <: Object, S0 <: Object, CT0[-p, +u] <: CtorType[p, u]](a: WithJsComponentArg[F, A, P1, S1, CT1, R, P0, S0])(implicit step: Step): Api.Primary._Step.Next[WithJsComponent[F, A, P1, S1, CT1, R, P0, S0]]

    Create a mutable ref that will persist for the full lifetime of the component.

    Create a mutable ref that will persist for the full lifetime of the component.

    Definition Classes
    Primary
  85. final def useRefToJsComponent[P <: Object, S <: Object](implicit step: Step): Api.Primary._Step.Next[ToJsComponent[P, S, RawMounted[P, S]]]

    Create a mutable ref that will persist for the full lifetime of the component.

    Create a mutable ref that will persist for the full lifetime of the component.

    Definition Classes
    Primary
  86. final def useRefToJsComponentWithMountedFacade[P <: Object, S <: Object, F <: Object](implicit step: Step): Api.Primary._Step.Next[ToJsComponent[P, S, RawMounted[P, S] with F]]

    Create a mutable ref that will persist for the full lifetime of the component.

    Create a mutable ref that will persist for the full lifetime of the component.

    Definition Classes
    Primary
  87. final def useRefToScalaComponent[P, S, B, CT[-p, +u] <: CtorType[p, u]](c: Component[P, S, B, CT])(implicit step: Step): Api.Primary._Step.Next[WithScalaComponent[P, S, B, CT]]

    Create a mutable ref that will persist for the full lifetime of the component.

    Create a mutable ref that will persist for the full lifetime of the component.

    Definition Classes
    Primary
  88. final def useRefToScalaComponent[P, S, B](implicit step: Step): Api.Primary._Step.Next[ToScalaComponent[P, S, B]]

    Create a mutable ref that will persist for the full lifetime of the component.

    Create a mutable ref that will persist for the full lifetime of the component.

    Definition Classes
    Primary
  89. final def useRefToVdom[N <: TopNode](implicit arg0: ClassTag[N], step: Step): Api.Primary._Step.Next[ToVdom[N]]

    Create a mutable ref that will persist for the full lifetime of the component.

    Create a mutable ref that will persist for the full lifetime of the component.

    Definition Classes
    Primary
  90. final def useState[S](initialState: => S)(implicit step: Step): Api.Primary._Step.Next[UseState[S]]

    Returns a stateful value, and a function to update it.

    Returns a stateful value, and a function to update it.

    During the initial render, the returned state is the same as the value passed as the first argument (initialState).

    During subsequent re-renders, the first value returned by useState will always be the most recent state after applying updates.

    Definition Classes
    Primary
  91. final def useStateBy[S](initialState: CtxFn[S])(implicit step: Step): Api.Secondary._Step.Next[UseState[S]]

    Returns a stateful value, and a function to update it.

    Returns a stateful value, and a function to update it.

    During the initial render, the returned state is the same as the value passed as the first argument (initialState).

    During subsequent re-renders, the first value returned by useState will always be the most recent state after applying updates.

    Definition Classes
    Secondary
  92. final def useStateBy[S](initialState: (Ctx) => S)(implicit step: Step): Api.Primary._Step.Next[UseState[S]]

    Returns a stateful value, and a function to update it.

    Returns a stateful value, and a function to update it.

    During the initial render, the returned state is the same as the value passed as the first argument (initialState).

    During subsequent re-renders, the first value returned by useState will always be the most recent state after applying updates.

    Definition Classes
    Primary
  93. final def useStateWithReuse[S](initialState: => S)(implicit arg0: ClassTag[S], arg1: Reusability[S], step: Step): Api.Primary._Step.Next[UseStateWithReuse[S]]

    Returns a stateful value, and a function to update it.

    Returns a stateful value, and a function to update it.

    During the initial render, the returned state is the same as the value passed as the first argument (initialState).

    During subsequent re-renders, the first value returned by useState will always be the most recent state after applying updates.

    Definition Classes
    Primary
  94. final def useStateWithReuseBy[S](initialState: CtxFn[S])(implicit arg0: ClassTag[S], arg1: Reusability[S], step: Step): Api.Secondary._Step.Next[UseStateWithReuse[S]]

    Returns a stateful value, and a function to update it.

    Returns a stateful value, and a function to update it.

    During the initial render, the returned state is the same as the value passed as the first argument (initialState).

    During subsequent re-renders, the first value returned by useState will always be the most recent state after applying updates.

    Definition Classes
    Secondary
  95. final def useStateWithReuseBy[S](initialState: (Ctx) => S)(implicit arg0: ClassTag[S], arg1: Reusability[S], step: Step): Api.Primary._Step.Next[UseStateWithReuse[S]]

    Returns a stateful value, and a function to update it.

    Returns a stateful value, and a function to update it.

    During the initial render, the returned state is the same as the value passed as the first argument (initialState).

    During subsequent re-renders, the first value returned by useState will always be the most recent state after applying updates.

    Definition Classes
    Primary
  96. final def useTransition(implicit step: Step): Api.Primary._Step.Next[UseTransition]

    Allows components to avoid undesirable loading states by waiting for content to load before transitioning to the next screen.

    Allows components to avoid undesirable loading states by waiting for content to load before transitioning to the next screen. It also allows components to defer slower, data fetching updates until subsequent renders so that more crucial updates can be rendered immediately.

    **If some state update causes a component to suspend, that state update should be wrapped in a transition.**

    Definition Classes
    Primary
    See also

    https://react.dev/reference/react/useTransition

  97. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  98. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  99. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from SecondaryWithRender[P, Varargs, Ctx, CtxFn, SubsequentStep[P, Ctx, CtxFn]]

Inherited from Secondary[Ctx, CtxFn, SubsequentStep[P, Ctx, CtxFn]]

Inherited from PrimaryWithRender[P, Varargs, Ctx, SubsequentStep[P, Ctx, CtxFn]]

Inherited from Primary[Ctx, SubsequentStep[P, Ctx, CtxFn]]

Inherited from AnyRef

Inherited from Any

Ungrouped