by _bxg1 · 8y ago · 0 comments
There are some things I really, really hate about React. It is not kind or accommodating (Vue is both of these things), but it gives you control. I was head-over-heels for the first few days of using Vue; "breath of fresh air" is exactly the phrase I'd use. But the project I was using it for was an IDE of sorts, and eventually I just needed more control than it allowed for.
If someone told me they were going to build a basic website - not a web app - with React instead of Vue, I would laugh at them. Vue truly is a successor to jQuery for the reactive age. But for really complex applications, it's too "magical" in my opinion.
Mithril.js is a framework that is truly "magical" in my opinion. I mean its 8kb, includes routing and XHR Utilities out of the box. Faster render times than Angular, Vue and React. You can write HyperScript or JSX. The syntactic variants allow you to write your components as ES6 Classes or closures. Lifecycle methods, a render and mount option and the list goes on and on. People tend to dismiss Mithril because it's a lesser known framework but it has a vigorously thought through programmatic approach and you've got a direct line with the maintainers, you cannot match that.
Sure, each to their own but calling Vue "Magical" is an incorrect assessment.
When I ran into an issue using React, tracking it down was extremely difficult (by the end it was just "difficult" due to improved tooling around react). Mithril is small largely because of its simple implementation, which makes debugging a joy.
1: They seem to mean magical in the sense if "I'm never going to understand how it works"
With ember you got controllers, models, inheritances, many special methods...
The VueJS documentation also makes it easier to get in. The Ember beginer tutorial starts with a full fledge app with a cli to install and use and features routing and addons O_o
How long have it been since you at least looked at Ember?
> With ember you got controllers, models, inheritances ...
You use those now only when you choose to or not at all.
> ... many special methods
= adding features Vue does not have.
> The Ember beginer tutorial starts with a full fledge app with a cli to install ...
Ember-cli is something everyone is desperately trying to copy. Even Vue!
Sorry, but this sounds like generic anti-JS-hate: tons of misinformation to bash something you have no clue about.
All that templating and two-way-binding stuff.
Sure, Vue goes a bit more in a lean direction, because it doesn't offer as much out of the box as Ember, but the idea behind the components seem to be similar.
React or Angular (>2) have entirely different approaches, from one another and from Ember/Vue.
They felt fresh to me.