github MithrilJS/mithril.js v0.2.0

latest releases: v2.2.3, v2.2.2, v2.2.1...
9 years ago

News:

  • Mithril modules will be referred to as components from now on.
  • Virtual DOM tree can now contain components
  • Components can now be parameterized via m.component

Deprecations:

  • m.module has been renamed m.mount. Calling m.module will still work, but should be considered deprecated. Rationale: Mithril modules and components are the same thing, therefore from now on, they will be referred to as components, since that name is more descriptive of their purpose, and causes less confusion in the face of ES6 modules.

In order to migrate, search for m.module calls and replace them with m.mount. The method signature is the same.

Bug Fixes:

  • fix diff edge case in <select> #569
  • fix support for arrays in template compiler

Don't miss a new mithril.js release

NewReleases is sending notifications on new releases.