Skip to content

Conversation

@sassanh
Copy link
Contributor

@sassanh sassanh commented Jul 16, 2018

This is required to be able to use things like react-helmet.

@markfinger
Copy link
Owner

Thanks for that, it's a good idea.

Given the extra property is actually the output of the render server, the name "extra" seems a bit confusing in this context. Do you mind changing the extra variable&property to data?

If you can also update the docs (README.md) to add the property in https://github.com/markfinger/python-react#basic-usage, that'd be great.

@sassanh
Copy link
Contributor Author

sassanh commented Jul 16, 2018

Sure, will do asap.

@sassanh
Copy link
Contributor Author

sassanh commented Jul 16, 2018

@markfinger OK, I changed the variable name and added the api to the README.md.

@markfinger markfinger merged commit 0e24aa3 into markfinger:master Jul 17, 2018
@markfinger
Copy link
Owner

Cool, looks good.

Thanks, @sassanh 😄

@markfinger
Copy link
Owner

I've published your changes to PyPI as react==4.2.0. Let me know if you run into any issues, but otherwise thanks again for the PR.

@markfinger
Copy link
Owner

Just noticed a bug when RENDER = False.

react==4.2.1 includes a fix.

@sassanh
Copy link
Contributor Author

sassanh commented Jul 17, 2018

Great, Thanks.

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.

2 participants