Hacker News new | ask | show | jobs
by benatkin 972 days ago
This shouldn’t be news. There is JSX which is like this but with a special syntax, and there’s Swift and Flutter which look similar.
2 comments

I created ECS... checks notes, 24 years ago.

https://svn.apache.org/viewvc/jakarta/ecs/branches/ecs/

What I mean is that what’s old has been new again for at least 9 years (React), but it’s also been looking quite similar for at least 3 years (SwiftUI and Flutter).
The biggest difference being in React, the render cycle is a synchronous, blocking function call, but attempting to access any remote data is purely asynchronous.

There's no way to repeat the horror of calling MySQL from a PHP template or whatever you might be able to do here.

It's still possible to write bad code, of course, but the old justification don't quite apply to react like they might here, or elsewhere.

JSX specifically is about the "special" syntax (`<div>hello</div>`), without the syntax it's just React (`React.createElement('div', null, 'hello')`)

Jakarta and go-app.dev seems to be similar to React, but in no way similar to JSX.