Replies: 1 comment
-
What do you mean exactly with "implement HTML-like syntax"? But Tetra is a "reactive" framework. Components can have backend methods, and attributes that preserve state and react to user events on the backend. Django-cotton just provide the frontend block, and replaces that If I didn't miss something when viewing their doc. So they won't compare, and implementing "HTML like syntax" won't work here much, as Tetra relies on Django's template parser. I could think of a possibility to replace this on the long term with this pseudo-webcomponents syntax in Tetra, but we would loose the ability to benefit from the template compiler, e.g. optimizing things at compile (=server starting) time. So a "no, we won't do that any time soon" would be the clearest answer here, I'm afraid. |
Beta Was this translation helpful? Give feedback.
-
Can you implement HTML-like Syntax?
Django-cotten implement that but they don't have ability to stand alone render like tetra.
Beta Was this translation helpful? Give feedback.
All reactions