This is a basic example that illustrates how to pre-render React components from python. In effect, it illustrates how to use React as a substitute for python template layers.
Install the dependencies
pip install -r requirements.txt
npm install
Start the render server
node server.js
Start the python server
python example.py
And visit http://127.0.0.1:5000