v1 documentationSee original GitHub issue
Until all the beautiful docs are updated, I figure it would be nice to have a place where the core breaking changes are documented.
So far from looking at commits since mid August, I’ve observed the following:
- instead of
el, it is
rootwhen creating a moon app
- instead of the
m-modelattribute, it is now named
- Any plugins or other things that access the internal attributes like
$childrennow use a version without
- SVG stuff now just is called
- To say that an element is text type, it was
TEXT_TYPE, but now the shorter literal
There’s a couple things that I don’t quite know about, like
functional when it comes to component things.
What other bumps are there in transitioning?
- Created 6 years ago
- Comments:11 (7 by maintainers)
Top GitHub Comments
DOM properties are now set with a new directive:
m-dom. It’s a replacement for
m-literal:prop.dom. Also, static elements are marked with a flag along with being hoisted.
These both were added in e6208979ff29f45584c92238871b8123c1bf26f8.
In regards to that
.set change, it should probably be mentioned the old keypath method (i.e
.set('obj.prop.nested')) does not work anymore.