useReduxStateOnDidChangeEffect<State, SubState> function

void useReduxStateOnDidChangeEffect<State, SubState>(
  1. SubState connect(
    1. State state
    ),
  2. VoidCallback effect(
    1. SubState state
    )
)

Executes the effect whenever the connected SubState changed

Implementation

void useReduxStateOnDidChangeEffect<State, SubState>(
    SubState connect(State state), VoidCallback effect(SubState state)) {
  useReduxStateEffect<State, SubState>(connect, onDidChange: effect);
}