Writing Custom Attributes for App Connect

App Connect 2 Beta

Here I will list any changes that App Connect 2 will have.

New way to watch expressions

The $addBinding has been renamed to $watch, the $addBinding will still keep working as an alias for $watch. With App Connect 2 the expressions are not evaluated on each change, with the new signals they subscribe directly to the data they are using and they will update directly when the data changes.

An important change is that the callback doesn’t have the oldValue anymore, if needed you should keep track of it yourself.

this.$watch(expression, value => {
  // your code here
});
3 Likes