p
react_redux
package react_redux
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- react_redux
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- trait Action extends Object
Keys should be properties, values, js.Anys.
Keys should be properties, values, js.Anys. Extend your Action trait from this trait to ensure it has a
type
property.- Annotations
- @JSType()
- type Dispatch[A <: Action] = Function1[|[A, Dynamic], Unit]
Dispatch an action via the store.
- type Listener = Function0[Unit]
A listener in redux is very coarse grained.
A listener in redux is very coarse grained. You receive all events.
- trait ProviderProps extends Object
Create the store in javascript, import it as js.Any then you can set the store in these props.
Create the store in javascript, import it as js.Any then you can set the store in these props.
- Annotations
- @JSType()
- trait ReactReduxContextValue[S, A <: Action] extends Object
- Annotations
- @JSType() @native()
- trait Store[S, A <: Action] extends Object
Client can obtain the state directly or dispatch an event directly off a store.
Client can obtain the state directly or dispatch an event directly off a store.
- Annotations
- @JSType() @native()
- type Unsubscriber = Function0[Unit]
Value Members
- val Provider: ReactJSComponent
- def createProvider(storeKey: String): ReactJSComponent
- def dispatch[A <: Action](f: (|[A, Dynamic]) => Unit): Dispatch[A]
Helper to make type a dispatch function into js.
- def shallowEqual(lhs: Any, rhs: Any): Boolean
- def useDispatch[A <: Action](): react.Dispatch[A]
- def useSelector[S, A](selector: Function1[S, A], equalityFn: Function2[A, A, Boolean]): A
- def useSelector[S, A](selector: Function1[S, A]): A
- def useStore[State, A <: Action](): Store[State, A]
- case object BuildInfo extends Product with Serializable
This object was generated by sbt-buildinfo.