Skip to content

0.24.1

Choose a tag to compare

@AlexGalays AlexGalays released this 18 Apr 09:55

Typing breaking changes

  • More precise types for VNode.elm in different scenarios (introduce VNode.Assigned) For instance, a VNode's elm is always defined in some hooks, never defined in others.

If you're sure you have a VNode with a defined elm, you can type it as VNode.Assigned.

Enhancements

  • Components' render can now also return null, undefined or ''. This is useful for higher order components.

Misc

  • Example: Use CSS animations instead of WEB animations as the polyfill isn't great; introduce a Single child animation component