Wilco open source alpha
Server-defined React components for Python backends.
- Language
- Python, TypeScript
- License
- Makersquad Source License
- Version
- v0.5.3
- Install
- pip install wilco[fastapi]
Wilco lets you write React components next to the Python code that serves them, and bundles them on the fly with esbuild, so there is no separate frontend build to keep in sync. It plugs into FastAPI, Django, Flask and Starlette, or any ASGI or WSGI app. The idea is to keep a server-rendered application server-rendered, and still reach for a real component when a page needs one.
It is experimental and pre-1.0, its API is expected to change, and the docs say to use it with care in production. It is built test-first.
The name is Roger Wilco, the hapless janitor who kept bumbling his way into saving the galaxy across the Space Quest games. It also happens to be radio for “will comply”, which is roughly what a component does when the server decides what it should be.