Open
Description
Proposal:
Before #12 is implemented, view.py should introduce some batteries-detached support for various component libraries. This is most prevalent with #118, but that's more of a full-fledged React library - users might want something more simple.
Namely, view.py will need to implement these four things:
- Finally fix Fixing the codec #8, and introduce JSX-like syntax.
- Introduce native support for htpy
- Documenting and polishing the old components API, and get it ready for use by Advanced Components API #12.
- Finally, a fork of pyright that includes JSX syntax. Although, this will not be part of this issue. I'll likely get to this after stable release.
I do like htpy
's approach to HTML-in-Python through subscripts - it's something that our own component API could consider.