If you rename “render” to “__ft__” then fasthtml will call it automatically, so you can just return the component from your handler directly!
@jeremyphoward
-
ULMFiT technique adoption opportunity for major AI labs
By
–
We’ve been teaching this since 2017 and used it in ULMFiT, but still seems no big lab has picked up on it. Big opportunity for someone here…
-
Documentation Claims Lower Latency But Real Performance Differs
By
–
Yeah actually I’ve noticed that too – the docs claim lower latency, but I’m not seeing it
-
FastHTML Auto-render Components with __ft__ Method
By
–
If you rename “render” to “__ft__” then fasthtml will call it automatically, so you can just return the component from your handler directly!
-
FastHTML Framework Size Comparison with FastAPI
By
–
I believe that FastHTML is far smaller than FastAPI. It’s definitely not a big framework.
-
AI Regulation Replacing Jury Trials with LLM Judges
By
–
…and also an AI regulation that removes jury trials and replaces them with LLMs as a judge — that's good too?
-
AI Regulation and LLM-Based Education: Ethical Concerns
By
–
Cool. So you must be in favor then of an AI regulation that requires all children be taught entirely using LLM-created content at schools, since all AI regulations are good?
-
API Cache Storage Costs and TTL Configuration Explained
By
–
Thanks for sharing! My first question was how much does it cost for cache storage and how does that work. I found the answer at the bottom of the api docs so hopefully this helps others with the same question. No extra storage costs and cache has a ~5 min TTL.
-

fa6-icons: Python library for Font Awesome icons
By
–
I love the @fontawesome icon library, so I decided to make it easier to use from Python. Therefore, I've created a new fa6-icons library: https://
answerdotai.github.io/fa6-icons/ This works well with hypermedia applications, such as FastHTML, saving bandwidth by only including used icons.
