3 ms·
> Hypermedia is what to web apps what XML is to programming languages. I have no idea what this means. The World Wide Web itself is quite literally hypermedia.
by monooso 2mo ago
> Hypermedia is what to web apps what XML is to programming languages.
I have no idea what this means. The World Wide Web itself is quite literally hypermedia.
The fact that a lot of front-end frameworks appear hell bent on ignoring this fact doesn't make it any less true.
> Again, the reason we have finally stabilised on JSX is because you can't really "Declare" away HTML or sophisticated data and event management...
You may have stabilised on JSX, "we" have not. React is one way of building web applications. It's appropriate for a certain subset of highly interactive SPAs, and completely inappropriate for many other things.
- asdfsa32 2mo ago> You may have stabilised on JSX, "we" have not. Just about any reputable sources puts the combined market share of React, Vue, Angular 2+, and Solid well above 80%. So I am not sure what "we" you are talking about.
- asdfsa32 2mo agoThis is ignoring the React Native and Flutter prominence on App Stores as well.
- monooso 2mo ago> Just about any reputable sources puts the combined market share of React, Vue, Angular 2+, and Solid well above 80%. I have no idea if that's accurate, but let's assume for a moment that it is. - Vue supports JSX, but it is not the default. - Angular does not support JSX. - Svelte, which you neglected to mention, does not support JSX. - Solid does indeed use JSX, as of course does React. So two out of the five main SPA frameworks don't even support JSX, and another doesn't typically use it. As I said, you may have stabilised on JSX, "we" have not.
- asdfsa32 2mo agoI listed frameworks that makes majority of the market share that are based on JSX and react-like reconciliation loop. This architecture is also now dominate in the mobile apps space via React Native and Flutter as well. So I am not sure what you're talking about. The industry has largely stabilised on this architecture because it works. So I don't know who this "we" you're talking about or what you're even talking about anymore.
- monooso 2mo agoYou specifically said JSX, which is a JavaScript syntax extension. You made no reference to architecture. If you want to move the goalposts to suit your argument, go right ahead; I won't be participating.
- asdfsa32 2mo agoYeah, I did say JSX but in the overall context: > Again, the reason we have finally stabilised on JSX is because you can't really "Declare" away HTML or sophisticated data and event management, Google really really tried that with Angular 1.0, and we know it doesn't scale. You're just arguing for sake of arguing. Goodluck.
- wredcoll 2mo agoI miss vue2.0 =[. JSX just feels weird.
- jfengel 2mo ago> I have no idea what this means. The World Wide Web itself is quite literally hypermedia. I think he's saying that the Web is hypermedia plus Javascript, rather than just hypermedia. Which means, from the standpoint of the power of hierarchy, that it's Javascript, which also happens to use some hypermedia. Even if you use only a tiny bit of a Turing-complete language, Turing-completeness defines what your system actually can do. This makes the Web fundamentally awkward, because most of the behavior is defined by the hypermedia part, and users have inconsistent expectations for what happens when you break the illusion. HTMX works by extending the illusion. JSX works by breaking the illusion earlier rather than later.