It's React, but in Python
ReactPy is a library for building user interfaces in Python without Javascript. ReactPy interfaces are made from components that look and behave similar to those found in ReactJS. Designed with simplicity in mind, ReactPy can be used by those without web development experience while also being powerful enough to grow with your ambitions.
| Supported Backends | |
|---|---|
| Built-in | External |
| Flask, FastAPI, Sanic, Tornado | Django, Jupyter, Plotly-Dash |
To get a rough idea of how to write apps in ReactPy, take a look at this tiny Hello World application.
from reactpy import component, html, run
@component
def hello_world():
return html.h1("Hello, World!")
run(hello_world)Follow the links below to find out more about this project.
Syntax similar to JSX
Allow threading for sync `use_effect` calls
Better compatibility with ReactJS Packages
Backport `reactpy_django` features to `reactpy`
Allow JavaScript components inside of props dict
Storage backed VDOM trees and hook states
Shadow DOM Support
Determine Best Auth Solution
Create a way to evaluate arbitrary javascript
Investigate MorphDOM vs ReactDOM