If you want something that is similar but looks better and more mature, check out Mint (mint-lang.com - I'm the author)
8 years and haven't hit 1.0, that's a bit of torture, no?
21–30 of 74 posts
If you want something that is similar but looks better and more mature, check out Mint (mint-lang.com - I'm the author)
8 years and haven't hit 1.0, that's a bit of torture, no?
Since this is marked as a departure from HTML and has it's own syntax, I think this is a good point to improve upon JSX. - Remove curly braces from props and children canBeInParanthesis()) /> userName "Text contents" - Add punning (like how { age: age } becomes { age } in JS) const age = 40; / // explicit boolean attributes
Looks quite nice, I'm not 100% sold on having flow exposed (for, if) and plain text always escaped (wrapped in {''}), I suppose at least it encourages not having magic strings everywhere. There's some other details that look interesting like the @use feature. I like the reactive prefix concept but having had so many reactive headaches I'm interested in how this plays out. Overall it's a wait and see project for me wi…
I really like having to escape all the plain text. I think all the React-like code I’ve written has been at least 90% code and tags, not plain text, and the lack of escaping occasionally causes bugs (usually printing the name of a variable instead of its value).
Earlier quoted context omitted.
This isn't proposing a standard, it's a new framework which takes inspiration from the other mentioned projects, while choosing a different set of trade-offs. This is just what it looks like when people try new stuff, and I don't think the snark of the comic is appropriate.
if frameworks are specifications, then a new framework is definitionally a new standard. it’s not an ISO or ANSI standard. but the point of the comic is, there are 10 web frameworks, we need one to be the best of all of them! there are 11 frameworks.
JS framework creators are not trying to solve the problem of too many JS frameworks.
Still, great he did it I just hope he'll be bolder next time! Of the 7 mentioned features 3-4 are not actually about the language but minor tooling hook ins (prettier, VSCode,) ... maybe that's the wrong focus.
Either way, the strong similarity with other JS/TS frameworks (semantics & syntax) suggests that for really new ideas the community should look elsewhere? Perhaps Clojurescript or Laravel (PhP) ...
I feel like these functional GUI renderers are all trying to make JS something it is simply not. I want to render my view with instances of classes as a model.