Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate/remove default tags. #52

Open
back2dos opened this issue Jul 6, 2021 · 3 comments
Open

Deprecate/remove default tags. #52

back2dos opened this issue Jul 6, 2021 · 3 comments
Milestone

Comments

@back2dos
Copy link
Member

back2dos commented Jul 6, 2021

Default tags are used to bring <div /> and such into scope. They complicate tag resolution a lot (which in turns makes supporting IDE services all the harder) and they really just save the user one * import (which can go into import.hx).

I'm inclined to remove them straight away, in favor of a clear error message - unfortunately, the user will get to see it in builds, but not in diagnostics, but I suppose most hxx (i.e. coconut) users are pretty used to IDE services being weird.

@back2dos back2dos added this to the 1.0 milestone Jul 6, 2021
@kLabz
Copy link
Contributor

kLabz commented Jul 6, 2021

Will that impact react-next? If so, any idea what I should be doing to be compatible?

@back2dos
Copy link
Member Author

back2dos commented Jul 6, 2021

Nope, react-next uses its own generator, which simply put knows what a div is. It will be unaffected.

back2dos added a commit to MVCoconut/coconut.vdom that referenced this issue Jul 7, 2021
back2dos added a commit to MVCoconut/coconut.react-dom that referenced this issue Jul 7, 2021
back2dos added a commit that referenced this issue Jul 8, 2021
back2dos added a commit that referenced this issue Jul 8, 2021
@back2dos
Copy link
Member Author

Well, after removing them and trying to migrate a bigger project I've realized this is a pita. Should deprecate instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants