Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I find the thing that is awkward with templates in a large project is there is only an implicit link between the template and the code that populates it

So there is no type safety or IDE help if you pass an invalid context from python to be rendered, i.e. that doesn't match var names in the template

So... I find these "html in python" libs kind of ugly in the Python code side but I definitely see the advantage

And then the idea that you can build 'components' as python functions

They are basically doing JSX but without benefit of the custom syntax



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: