object fn
A function that facilitates stability and reuse.
In effective usage of React, callbacks are passed around as component properties. Due to the ease of function creation in Scala it is often the case that functions are created inline and thus provide no means of determining whether a component can safely skip its update. This exists as a solution.
- Since
0.9.0
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- fn
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- final class StateAccessWriteOps[I, F[_], A[_], S] extends AnyRef
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply[A, B, C, D, E, Y, Z](f: (A, B, C, D, E, Y) => Z)(implicit arg0: Reusability[A], arg1: Reusability[B], arg2: Reusability[C], arg3: Reusability[D], arg4: Reusability[E]): internal.CoreGeneral.~=>[A, internal.CoreGeneral.~=>[B, internal.CoreGeneral.~=>[C, internal.CoreGeneral.~=>[D, internal.CoreGeneral.~=>[E, internal.CoreGeneral.~=>[Y, Z]]]]]]
- def apply[A, B, C, D, Y, Z](f: (A, B, C, D, Y) => Z)(implicit arg0: Reusability[A], arg1: Reusability[B], arg2: Reusability[C], arg3: Reusability[D]): internal.CoreGeneral.~=>[A, internal.CoreGeneral.~=>[B, internal.CoreGeneral.~=>[C, internal.CoreGeneral.~=>[D, internal.CoreGeneral.~=>[Y, Z]]]]]
- def apply[A, B, C, Y, Z](f: (A, B, C, Y) => Z)(implicit arg0: Reusability[A], arg1: Reusability[B], arg2: Reusability[C]): internal.CoreGeneral.~=>[A, internal.CoreGeneral.~=>[B, internal.CoreGeneral.~=>[C, internal.CoreGeneral.~=>[Y, Z]]]]
- def apply[A, B, Y, Z](f: (A, B, Y) => Z)(implicit arg0: Reusability[A], arg1: Reusability[B]): internal.CoreGeneral.~=>[A, internal.CoreGeneral.~=>[B, internal.CoreGeneral.~=>[Y, Z]]]
- def apply[A, Y, Z](f: (A, Y) => Z)(implicit arg0: Reusability[A]): internal.CoreGeneral.~=>[A, internal.CoreGeneral.~=>[Y, Z]]
- def apply[Y, Z](f: (Y) => Z): internal.CoreGeneral.~=>[Y, Z]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def state[I, S](i: I)(implicit t: WritePure[I, S]): StateAccessWriteOps[I, Sync, util.DefaultEffects.Async, S]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()