t

recoil

hooks

trait hooks extends AnyRef

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

Value Members

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

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

  25. def useRecoilValueLoadable[T](value: RecoilValue[T]): Loadable[T]
  26. def useResetRecoilState[T](state: RecoilState[T]): Resetter
  27. def useSetRecoilState[T](state: RecoilState[T]): SetterOrUpdater[T]
  28. def writableSelector[T](options: WriteableSelectorOptions[T]): RecoilState[T]