Skip to content

Preflight Component Support #192

Open
@ZeroIntensity

Description

@ZeroIntensity

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.

Metadata

Metadata

Assignees

Labels

apiThis has to do with the Python API (view)complexThis should only be looked at by someone who knows what they're doingfeatureNew featurehotThis is high priority

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions