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

How to use second argument of render function context? #99

Closed
o0x2a opened this issue Nov 26, 2020 · 3 comments
Closed

How to use second argument of render function context? #99

o0x2a opened this issue Nov 26, 2020 · 3 comments

Comments

@o0x2a
Copy link

o0x2a commented Nov 26, 2020

What is use case for the second argument of render function context, is it possible to pass redux context using the the argument?

Is there any documentation of example how to use the context argument?
Thanks :-)

@ljharb
Copy link
Member

ljharb commented Nov 27, 2020

It’s used to pass “legacy” context - so, it depends on which version of redux you’re talking about.

@o0x2a
Copy link
Author

o0x2a commented Nov 27, 2020

I'm using the latest react/redux. Thanks for clarification, is this project from the official react-team? Since it is mentioned in the react documentation? If so may I ask why it is not hosted in the react repo like other related projects?

@ljharb
Copy link
Member

ljharb commented Nov 27, 2020

The react team no longer maintains it.

@o0x2a o0x2a closed this as completed Apr 27, 2021
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

No branches or pull requests

2 participants