Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#1461 Add a displayName on ReactReduxContext #1462

Merged
merged 2 commits into from Nov 13, 2019
Merged

Conversation

pieplu
Copy link
Contributor

@pieplu pieplu commented Nov 13, 2019

Solve #1461

@netlify
Copy link

netlify bot commented Nov 13, 2019

Deploy preview for react-redux-docs ready!

Built with commit 0762f49

https://deploy-preview-1462--react-redux-docs.netlify.com

@timdorr
Copy link
Member

timdorr commented Nov 13, 2019

That's not how the context works.

@timdorr timdorr closed this Nov 13, 2019
@pieplu
Copy link
Contributor Author

pieplu commented Nov 13, 2019

That's not how the context works.

@timdorr I don't understant why you say that.
It's works:
image

ReactDoc: https://reactjs.org/docs/context.html#contextdisplayname

React-router do the same: https://github.com/ReactTraining/react-router/blob/master/packages/react-router/modules/RouterContext.js

@timdorr
Copy link
Member

timdorr commented Nov 13, 2019

Crap, I was wrong. I thought you had to do that on each context pair component.

@timdorr timdorr reopened this Nov 13, 2019
@timdorr
Copy link
Member

timdorr commented Nov 13, 2019

Please either check the box that allows contributors to commit to this PR, or run this through our linting and testing toolchain. Right now it's failing because of the semicolon.

@pieplu
Copy link
Contributor Author

pieplu commented Nov 13, 2019

O_O, sorry, I will fix that

@timdorr
Copy link
Member

timdorr commented Nov 13, 2019

Thanks! Sorry about my confusion before.

@timdorr timdorr merged commit a84eec9 into reduxjs:master Nov 13, 2019
webguru7 pushed a commit to webguru7/react-redux that referenced this pull request Dec 8, 2022
* reduxjs#1461 Add a displayName on ReactReduxContext

* lint, remove semicolon reduxjs#1461
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants