Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Plan for JSX V4. #521

Closed
3 of 9 tasks
cristianoc opened this issue Jun 4, 2022 · 2 comments
Closed
3 of 9 tasks

Plan for JSX V4. #521

cristianoc opened this issue Jun 4, 2022 · 2 comments

Comments

@cristianoc
Copy link
Contributor

cristianoc commented Jun 4, 2022

With the introduction of more general structural typing https://forum.rescript-lang.org/t/ann-more-strict-checks-in-missed-labels/2117 most of the JSX ppx could be removed. In particular, one could just use functions from the language directly.

A plan would require

@cristianoc cristianoc added this to the v10.1 milestone Jun 4, 2022
@cristianoc
Copy link
Contributor Author

++ @rickyvetter

@cristianoc cristianoc mentioned this issue Jun 4, 2022
@ryyppy
Copy link
Member

ryyppy commented Jun 8, 2022

Things to consider (that may or may not be solved by simplifying the ppx):

  • Make sure it's easy to comply to the fast-refresh naming rules (capitalized functions, no leading $$) -> also see this forum post

(will probably edit this comment later to add more items)

@cristianoc cristianoc changed the title Plan future for JSX. Plan for JSX V4. Jun 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants