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
21 lines (16 loc) · 567 Bytes

File metadata and controls

21 lines (16 loc) · 567 Bytes
Copy raw file
Download raw file
Outline
Edit and raw actions

python + react + webpack example

This example illustrates how:

  • A single codebase can be used to generate server-side rendered HTML as well client-side interactivity.
  • To pre-render HTML so that you can optimise for search-engines.
  • Server-side rendering enables you to gracefully-degrade interactive features on clients without JavaScript enabled.

Running the example

pip install -r requirements.txt
npm install
python example.py

And visit http://127.0.0.1:8000

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