Skip to content
loading...

re: Mint - A refreshing programming language for the front-end web VIEW POST

TOP OF THREAD FULL DISCUSSION
re: I love to see Innovation and wheel reinvention (not saying it in a bad way). People often like to say why to create something that has already been...
 

Thank you for that comment!

It could certainly be compiled to web components, it's technically possible, but I don't think it's the right way to go:

  • the spec is not very well supported: caniuse.com/#search=web%20components it can be polyfilled but that's not ideal.

  • if components would be reused outside of the language then we would lose type safety or we would need to implement runtime type checking on the boundaries.

  • there is no spec as far as I am aware for virtual DOM to be implemented in a browser, dropping this requirement would mean that either the implementation still have to be in the application or we would lose performance rendering with innerHTML.

code of conduct - report abuse