Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provider
: pass state (S
) generic through to ProviderProps
This is necessary to catch mistakes such as this, where the type of `serverState` does not match the type of the state in the provided `store`. ```tsx import { Provider } from 'react-redux'; import { Store } from 'redux'; declare const store: Store<{ foo: string }>; <Provider store={store} serverState={"oops"}>foo</Provider> ```
- Loading branch information