Skip to content

v0.17.0

Compare
Choose a tag to compare
@ryansolid ryansolid released this 24 Mar 02:40

Breaking Changes to Event System

  • Removed casing consideration. All on____ events handled the same. If they are not non-composable or non-bubbling they will be delegated by default otherwise level 1 events.
  • Renamed the events binding as the on binding. This adds typical level 3 event handlers for irregular events or events you do not wish to delegate.
  • Removed model mechanism. Bound events are now using an array syntax inspired by Inferno [handler, boundValue] where the handler takes the boundValue as the first parameter and the event as the second.

Other Improvements

  • Drastically shrunk list reconciler based on udomdiff
  • Changed template checking method to count tags instead of string compare to reduce false warnings.
  • Improved ternary heuristics to reduce unnecessary wrapping.
  • Added the static @once indicator to force not wrapping expressions.