Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Outline

python + react simple rendering

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.

Running the example

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.