p

recoil

package recoil

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. recoil
  2. hooks
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Package Members

  1. package utils

Type Members

  1. trait AbstractRecoilValue[+T] extends Object

    Generic selector, state handle.

    Generic selector, state handle.

    Annotations
    @JSType() @native()
  2. trait AbstractRecoilValueReadOnly[+T] extends Object
    Annotations
    @JSType() @native()
  3. trait Accessors[+T] extends Object
    Annotations
    @JSType() @native()
  4. trait AtomOptions[T] extends Object
    Annotations
    @JSType()
  5. type AtomValues = Dictionary[Loadable[Any]]
  6. trait CallbackInterface extends Object
    Annotations
    @JSType() @native()
  7. class DefaultValue extends Object
    Annotations
    @JSType() @native() @JSImport("recoil", "DefaultValue")
  8. type FlexiValue[T] = |[|[T, RecoilValue[T]], Thenable[T]]
  9. type GetRecoilValue[T] = Function1[RecoilValue[T], T]
  10. trait Loadable[T] extends Object with Accessors[T]
    Annotations
    @JSType() @native()
  11. trait LoadableEffect[+T] extends Object with LoadableValue[T] with Accessors[T]
    Annotations
    @JSType() @native()
  12. trait LoadableError[+T] extends Object with LoadableValue[T]
    Annotations
    @JSType() @native()
  13. type LoadablePromise[T] = Promise[ResolvedLoadablePromiseInfo[T]]
  14. trait LoadableState extends Any
    Annotations
    @JSType() @native()
  15. trait LoadableStrict[+T] extends Object with LoadableValue[T]
    Annotations
    @JSType() @native()
  16. trait LoadableValue[+T] extends Object
    Annotations
    @JSType() @native()
  17. type NodeKey = String
  18. trait ReadOnlyAccessors extends Object
    Annotations
    @JSType() @native()
  19. trait ReadOnlySelectorOptions[T] extends Object
    Annotations
    @JSType()
  20. trait ReadWriteAccessors extends Object with ReadOnlyAccessors
    Annotations
    @JSType() @native()
  21. trait RecoilState[+T] extends Object with AbstractRecoilValue[T]

    Writable

    Writable

    Annotations
    @JSType() @native()
  22. type RecoilValue[T] = |[RecoilValueReadOnly[T], RecoilState[T]]

    Value.

    Value. Note this has poor type inference.

  23. trait RecoilValueReadOnly[+T] extends Object with AbstractRecoilValueReadOnly[T]

    Read only.

    Read only.

    Annotations
    @JSType() @native()
  24. type ResetRecoilState[T] = Function1[RecoilState[T], Unit]
  25. type Resetter = Function0[Unit]
  26. trait ResolvedLoadablePromiseInfo[T] extends Object
    Annotations
    @JSType() @native()
  27. type Return[T] = |[|[T, RecoilValue[T]], Thenable[T]]
  28. type SetRecoilState[T] = Function2[RecoilState[T], |[|[T, DefaultValue], Function1[T, |[T, DefaultValue]]], Unit]
  29. type SetVal[T] = Function1[T, Unit]
  30. type SetValOrUpdater[T] = |[SetVal[T], Updater[T]]
  31. trait SetterOrUpdater[T] extends Object
    Annotations
    @JSType() @native()
  32. type Updater[T] = Function1[Function1[T, T], Unit]
  33. trait WriteableSelectorOptions[T] extends Object with ReadOnlySelectorOptions[T]
    Annotations
    @JSType()
  34. trait hooks extends AnyRef
  35. trait recoil_module extends Object
    Annotations
    @JSType() @native()

Value Members

  1. def atom[T](options: AtomOptions[T]): RecoilState[T]
    Definition Classes
    hooks
  2. def isRecoilValue(value: Any): Boolean
    Definition Classes
    hooks
  3. def makeAtom[T](k: String, d: FlexiValue[T]): RecoilState[T]
  4. def readonlySelector[T](options: ReadOnlySelectorOptions[T]): RecoilValueReadOnly[T]
    Definition Classes
    hooks
  5. def useRecoilCallback[T](deps: AllType*)(f: Function1[CallbackInterface, Return[T]]): Function0[T]
    Definition Classes
    hooks
  6. def useRecoilCallback1[A1, T](deps: AllType*)(f: Function2[CallbackInterface, A1, Return[T]]): Function1[A1, T]
    Definition Classes
    hooks
  7. def useRecoilCallback1A[A1, T](deps: Dependencies)(f: Function2[CallbackInterface, A1, Return[T]]): Function1[A1, T]
    Definition Classes
    hooks
  8. def useRecoilCallback2[A1, A2, T](deps: AllType*)(f: Function3[CallbackInterface, A1, A2, Return[T]]): Function2[A1, A2, T]
    Definition Classes
    hooks
  9. def useRecoilCallback2A[A1, A2, T](deps: Dependencies)(f: Function3[CallbackInterface, A1, A2, Return[T]]): Function2[A1, A2, T]
    Definition Classes
    hooks
  10. def useRecoilCallback3[A1, A2, A3, T](deps: AllType*)(f: Function4[CallbackInterface, A1, A2, A3, Return[T]]): Function3[A1, A2, A3, T]
    Definition Classes
    hooks
  11. def useRecoilCallback3A[A1, A2, A3, T](deps: Dependencies)(f: Function4[CallbackInterface, A1, A2, A3, Return[T]]): Function3[A1, A2, A3, T]
    Definition Classes
    hooks
  12. def useRecoilCallback4[A1, A2, A3, A4, T](deps: AllType*)(f: Function5[CallbackInterface, A1, A2, A3, A4, Return[T]]): Function4[A1, A2, A3, A4, T]
    Definition Classes
    hooks
  13. def useRecoilCallback4A[A1, A2, A3, A4, T](deps: Dependencies)(f: Function5[CallbackInterface, A1, A2, A3, A4, Return[T]]): Function4[A1, A2, A3, A4, T]
    Definition Classes
    hooks
  14. def useRecoilCallback5[A1, A2, A3, A4, A5, T](deps: AllType*)(f: Function6[CallbackInterface, A1, A2, A3, A4, A5, Return[T]]): Function5[A1, A2, A3, A4, A5, T]
    Definition Classes
    hooks
  15. def useRecoilCallback5A[A1, A2, A3, A4, A5, T](deps: Dependencies)(f: Function6[CallbackInterface, A1, A2, A3, A4, A5, Return[T]]): Function5[A1, A2, A3, A4, A5, T]
    Definition Classes
    hooks
  16. def useRecoilCallbackA[T](deps: Dependencies)(f: Function1[CallbackInterface, Return[T]]): Function0[T]
    Definition Classes
    hooks
  17. def useRecoilCallbackMounting[T](f: Function1[CallbackInterface, Return[T]]): Function0[T]
    Definition Classes
    hooks
  18. def useRecoilCallbackMounting1[A1, T](f: Function2[CallbackInterface, A1, Return[T]]): Function1[A1, T]
    Definition Classes
    hooks
  19. def useRecoilCallbackMounting2[A1, A2, T](f: Function3[CallbackInterface, A1, A2, Return[T]]): Function2[A1, A2, T]
    Definition Classes
    hooks
  20. def useRecoilCallbackMounting3[A1, A2, A3, T](f: Function4[CallbackInterface, A1, A2, A3, Return[T]]): Function3[A1, A2, A3, T]
    Definition Classes
    hooks
  21. def useRecoilCallbackMounting4[A1, A2, A3, A4, T](f: Function5[CallbackInterface, A1, A2, A3, A4, Return[T]]): Function4[A1, A2, A3, A4, T]
    Definition Classes
    hooks
  22. def useRecoilCallbackMounting5[A1, A2, A3, A4, A5, T](f: Function6[CallbackInterface, A1, A2, A3, A4, A5, Return[T]]): Function5[A1, A2, A3, A4, A5, T]
    Definition Classes
    hooks
  23. def useRecoilState[T](atom: RecoilState[T]): (T, SetterOrUpdater[T])
    Definition Classes
    hooks
  24. def useRecoilStateLoadable[T](state: RecoilState[T]): (Loadable[T], SetterOrUpdater[T])
    Definition Classes
    hooks
  25. def useRecoilValue[T](selector: RecoilValue[T]): T

    If pending, throws Promise to suspend, or throws an error.

    If pending, throws Promise to suspend, or throws an error.

    Definition Classes
    hooks
  26. def useRecoilValueLoadable[T](value: RecoilValue[T]): Loadable[T]
    Definition Classes
    hooks
  27. def useResetRecoilState[T](state: RecoilState[T]): Resetter
    Definition Classes
    hooks
  28. def useSetRecoilState[T](state: RecoilState[T]): SetterOrUpdater[T]
    Definition Classes
    hooks
  29. def writableSelector[T](options: WriteableSelectorOptions[T]): RecoilState[T]
    Definition Classes
    hooks
  30. object AtomOptions
  31. case object BuildInfo extends Product with Serializable

    This object was generated by sbt-buildinfo.

  32. object LoadableState
  33. object RecoilRoot
  34. object module extends Object with recoil_module
    Annotations
    @native() @JSImport("recoil", JSImport.Namespace)

Inherited from hooks

Inherited from AnyRef

Inherited from Any

Ungrouped