3 ms·
Could this be used to render React views on the server side? I'd love to use something like https://github.com/markfinger/python-react https://github.com/markfi
by ivan_ah 10y ago
Could this be used to render React views on the server side?
I'd love to use something like https://github.com/markfinger/python-react https://github.com/markfinger/python-react but without the need to run node.js server on the side.
Is there an example I can copy to imitate this approach?
- jbaviat 10y agoIt seems quite straightforward to me if you use: 1. the C# example from React doc, https://facebook.github.io/react/docs/environments.html https://facebook.github.io/react/docs/environments.html 2. The BabelJS example from PyMiniRacer: https://github.com/sqreen/PyMiniRacer/blob/master/helpers/babel.py https://github.com/sqreen/PyMiniRacer/blob/master/helpers/ba... I would be glad to hear more about that :)