Skip to content

v7.0.0

Compare
Choose a tag to compare
@ezhlobo ezhlobo released this 08 Jan 18:27
· 6 commits to master since this release

Breaking changes

  • We now support babel@7!
  • Leave key attribute as it's written (we neither create nor edit key attribute anymore).
  • Leave className attribute as it's written (we don’t force converting of className attribute into string anymore).
    Now it's possible to use any tool to combine your classes. Most popular is classnames, and its automated version babel-plugin-classnames.
  • Convert loops into real map and remove own validation of what we pass to map function.
  • Remove for and maxlength attribute aliases for htmlFor and maxLength.

Added

  • New option classAttribute.
    It allows more natural integration with CSS Modules.
    See documentation.

Fixed

  • Improve javascript transpiling.
    Now we can use each or if on root level of the template, or assign define any variable within the template.
  • Allow nested loops [#35].