Search posts, tags, users, and pages
I bet you've heard of MoonJS. What do you think about it? Are there ideas VueJS could benefit from like it did for Angular and React?
Yes, we have! The idea was pretty exciting because we thought, hey, that's what Preact is for React. But to me, Moon is not as close to Vue as Preact is to React in terms of API, and this is probably because it seems to have more features:
this.get() to access things and this.callMethod to call a methodthis.setv-bind or its shorthand : which prevents the browser from parsing some attributes before they actually have a value (eg: the src attribute of an image)Of course, I imagine the author had to take into account the size limit and that's why he dropped some of features and API, to keep it fast and small.
It does have many other things like a routing solution (although its api is very different from vue-router), a global store, a cli, ...
Personally, I haven't used it yet but it could be fun to test it
I didn't see any extra feature we could benefit from but I don't know the project enough to be fair 🙂 We can of course, always learn from somebody else code
To add to Eduardo's answer: While we've been learning from other projects like Angular and React, to be brutally honest, at the current state I don't think Moon offers much more than what Vue does, if at all. For example, one thing I noticed about Moon (correct me if I'm wrong) is the lack of filters. When I can't say we're big fans of filters (and filters in Vue are just functions anyway) there are certain cases where filters do shine. SFC is also something I don't see supported by Moon.