Couldn’t agree more.
And we already have pretty much all the components for such framework. In fact, I’d go as far as to say that MVCoconut (and tink suite of libs) is the best candidate to be the killer web / mobile / desktop app solution for Haxe.
The devil is in the details though. At the moment, it’s not trivial to integrate Haxe in the TS toolchain. It is easier if you fallback to plain js/ES6, as there’s already a webpack loader, etc, but it’s far from obvious and it’s all scattered around. Another option is to let go of webpack etc and embrace Haxe (keeping the js build tool(s) / boilerplate to a minimum). I’m not very fond of that because then it becomes harder to integrate with other js components, if the need arises, and build tools like webpack are very powerful and there are tons of resources online about it, so why not embrace it?
Also, the documentation for coco and the tink libs is very basic at best (I can understand why, there are only 3-4 people working on them and again it’s quite niche). The good thing is that people are mostly always willing to help you on gitter.
The hard truth is that in the bigger scheme of things, the features Haxe offers - as awesome as they are - end up not being enough motivators if people have to spend too much time tinkering with Haxe to leverage the js ecosystem in a productive manner. Specially when one can find so many articles and good boilerplates for js/ts/react/etc online.
You also have to take into consideration that Typescript is evolving fast. It’s actually a very neat language and there are actually features in it that are ahead of Haxe in some ways. I recently found fp-ts which provides some of the functional aspects Haxe provides, for TS. I miss the everything’s an expression aspect of Haxe, but there’s already a proposal that solves that for ES6 and should arrive in TS in the next years (and already available for babel), although I find it a bit awkward in its design.
But this seems cyclical subject. We’ve had similar convos many times in the past. I also think it’s gradually getting better (we have short lambdas, finally!), although I wish some of the evolution proposals were accepted and implemented in a more straightforward manner, I can understand why it takes long (except perhaps the short lambda drama :D).