Skip to content

Commit f278933

Browse files
authored
Remove connectAdvanced (#1771)
1 parent a3503c1 commit f278933

File tree

10 files changed

+399
-826
lines changed

10 files changed

+399
-826
lines changed

src/components/Provider.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ export interface ProviderProps<A extends Action = AnyAction> {
1212
store: Store<FixTypeLater, A>
1313
/**
1414
* Optional context to be used internally in react-redux. Use React.createContext() to create a context to be used.
15-
* If this is used, generate own connect HOC by using connectAdvanced, supplying the same context provided to the
16-
* Provider. Initial value doesn't matter, as it is overwritten with the internal state of Provider.
15+
* If this is used, you'll need to customize `connect` by supplying the same context provided to the Provider.
16+
* Initial value doesn't matter, as it is overwritten with the internal state of Provider.
1717
*/
1818
context?: Context<ReactReduxContextValue | null>
1919
children: ReactNode

0 commit comments

Comments
 (0)