Closed
Description
Do you want to request a feature or report a bug?
Bug/Unexpected behavior
What is the current behavior?
When passing context
prop to connected component, it's replacing original Context
and connect()
returning an undefined
.
Related code line:
react-redux/src/components/connectAdvanced.js
Line 216 in 94799ef
Example:
https://codesandbox.io/s/mm039l9q7x
What is the expected behavior?
Not use context
prop or document this behavior.
Which versions of React, ReactDOM/React Native, Redux, and React-Redux are you using? Which browser and OS are affected by this issue? Did this work in previous versions of React-Redux?
Latest
Metadata
Metadata
Assignees
Labels
No labels