Skip to content

0.1.3

Compare
Choose a tag to compare
@epoberezkin epoberezkin released this 26 Aug 12:00
· 700 commits to master since this release

Asynchronous messaging:

  • All subscribers that are now called on the next tick by default
  • If in some circumstances subscriber needs to be called synchronously, it can subscribe to the message using onSync method (instead of on).
  • If message sender needs the message to be dispatched synchronously to all subscribers it can be used with postMessageSync method (instead of postMessage).
  • Subscribers can subscribe using onAsync in which case ALL messages, even those emitted with postMessageSync, will be dispatched asynchronously.
  • DOM events are dispatched synchronously, so preventDefault etc. would work (the actual DOM event is passed as the second parameter of subscribers).

List facet now allows multiple items already in DOM, but requires that all Items (components with Item facet) are immediate DOM children. The first item in the DOM is used as a sample for new items.