You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 13, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Jan 13, 2022. It is now read-only.
It would be really nice if PyReact could offer a generic WSGI app like the react-middleware project or an API where one could give it a path to a React component and it will return a string so the controller can include it to the response string.
Activity
kmeht commentedon May 1, 2014
Thanks for the suggestion! In the meantime, pull requests are always welcome :)
lrowe commentedon May 15, 2014
A while ago I reported to the mailing list on the approach I'm using in my Python app. I've now pulled out the rendering code from my current project and created python wsgi and node subprocess packages from it.
To use this for rendering my react app I create a simple react rendering transform with this helper and then tie it together with this script
I'll try and make an example project and write more docs some time in the next few weeks.