fast_app() or FastHTML(): The best way to initialize a FastHTML app

So I've been using FastHTML to create some little side projects and I've been loving it. As I've gone through the documentation, I'm having a hard time deciding between initializing projects with FastHTML() and fast_app(). Is there a consensus on which on is better to work with?

I only really gravitated towards FastHTML() because route definition is similar to FastAPI and Flask

Posted Dec 26, 2024, 4:12 PM UTC

20

Comments aren't archived yet

Comments for this period haven't been loaded into the archive yet.