4 ms·
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.
by benatkin 3y 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.
- latchkey 3y agoI created ECS... checks notes, 24 years ago. https://svn.apache.org/viewvc/jakarta/ecs/branches/ecs/ https://svn.apache.org/viewvc/jakarta/ecs/branches/ecs/
- benatkin 3y agoWhat 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).
- deleted 3y ago[deleted]
- zdragnar 3y agoThe 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.
- deleted 3y ago[deleted]
- diggan 3y agoJSX 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.