reduxjs / react-redux

Official React bindings for Redux
https://react-redux.js.org
MIT License
23.37k stars 3.37k forks source link

Add a "DisplayName" on ReactReduxContext for DevTools #1461

Closed pieplu closed 4 years ago

pieplu commented 4 years ago

What is the current behavior?

ReactReduxContext don't have a DisplayName. It will be usefull on devtools.

Actually it's look's like:

image

What is the expected behavior?

Insted of "Context.Provider" in devTools, I expect see "ReactRedux.Provider" or "ReactReduxContext.Provider"

React: 16.8 React-redux: 7.1

I will propose a PR

timdorr commented 4 years ago

Thanks, but I don't think we need this.