by freedomben · 8y ago · 0 comments
It's been like that on Windows since 2006 with XAML. In fact, if you squint at typical JSX, it looks like XAML.
Disclosure: I work at Microsoft.
The crazy part is, that you can share code and eco-system components among these targets, no matter if they're native or otherwise. Here's a shell applications for instance that uses react-motion to shift stuff around: https://github.com/gaearon/react-blessed-hot-motion
Microsoft seems heavily invested in it as well (react-windows, reactXP, UI-fabric, ...).
What does dependency injection have to do with anything? There's nothing stopping you from using global variables or an event bus or something like Redux in a XAML app.
OpenLaszlo was most immediately inspired by HTML and (for data binding) XSLT. I looked at Mozart for ideas on constraints, but we ended up rolling our own design — mostly because constraints were never supposed to be a feature, so they were designed and developed incrementally, in discretely releasable baby steps.
Adobe did due diligence of the company sometime around 2002-2003 too, but that deal fell through. An Adobe PM also signed up for our beta program, initially under a pseudonym, but he eventually came clean. I’ve always been curious whether Flex/MXML was related to either of those encounters.
[1] https://en.wikipedia.org/wiki/OpenLaszlo
[2] https://ssl.weepee.org/lps-4.6.1/docs/developers/program-dev...
The databinding approach is both elegant and familiar.
It certainly does look a lot like Vue Single File Components if you squint.
Damn it, didn't we just have an article on HN about creating art using CSS?!
At least when concerning all major GUI libs.
It's more like a markup driving an immediate-mode graphics API.