interface ProviderProps<A, S> {
    children: ReactNode;
    context?: Context<ReactReduxContextValue<S, A>>;
    noopCheck?: CheckFrequency;
    serverState?: S;
    stabilityCheck?: CheckFrequency;
    store: Store<S, A>;
}

Type Parameters

Properties

children: ReactNode
context?: Context<ReactReduxContextValue<S, A>>

Optional context to be used internally in react-redux. Use React.createContext() to create a context to be used. If this is used, you'll need to customize connect by supplying the same context provided to the Provider. Initial value doesn't matter, as it is overwritten with the internal state of Provider.

noopCheck?: CheckFrequency

Global configuration for the useSelector no-op check

serverState?: S

An optional server state snapshot. Will be used during initial hydration render if available, to ensure that the UI output is consistent with the HTML generated on the server.

stabilityCheck?: CheckFrequency

Global configuration for the useSelector stability check

store: Store<S, A>

The single Redux store in your application.