Closed ZeroIntensity closed 1 month ago
View should add an API for returning responses via things like React, Svelte, or even Next builds.
from view import new_app, react app = new_app() @app.get("/") async def index(): return react("index.tsx") app.run()
This will be waiting on #111, as things like TypeScript might need to be built.
I'm not sure view.py can even support this - the build step should probably be configured by the user. If this comes back up, I'll implement this.
Feature description
View should add an API for returning responses via things like React, Svelte, or even Next builds.
Feature example API
Anything else?
This will be waiting on #111, as things like TypeScript might need to be built.