Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: reduxjs/react-redux
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v8.0.3
Choose a base ref
...
head repository: reduxjs/react-redux
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v8.0.4
Choose a head ref
  • 4 commits
  • 4 files changed
  • 1 contributor

Commits on Sep 23, 2022

  1. Omit built-in context prop if user component props include context

    Connected components allow users to pass in a `ReactReduxContext`
    instance as a prop named `context`. We also do internal checks to
    see if that really _is_ a context instance, in case the user passed
    a real value as `props.context`.
    
    However, the TS types did not reflect this - `props.context` was always
    a `ReactReduxContext` type, and if users did have a component that
    accepted a prop named `context`, this would cause a type clash.
    
    In this case, the types didn't reflect the reality of runtime behavior.
    
    By extracting "the props of the component" and omitting the built-in
    `context` field type if appropriate, this now works.
    markerikson committed Sep 23, 2022
    Configuration menu
    Copy the full SHA
    f40d82d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1236861 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3c9766e View commit details
    Browse the repository at this point in the history
  4. Release 8.0.4

    markerikson committed Sep 23, 2022
    Configuration menu
    Copy the full SHA
    70a167e View commit details
    Browse the repository at this point in the history
Loading