I thought that AC2 will just go from beta to live on some random Thursday coming soon and that we don’t need to do anything except test our app in the beta channel now and then wait for the big day…
… and an eta for the big day would be lovely to know but I doubt we will get one…
No need to build anything from scratch. App Connect 2 is backwards compatible.
What I am curious of is it backwards compatible like the USB standards (USB2 device on a USB3 interface will only work with USB2 speeds) or it will work with full AC2 speed with the old code.
When the stable channel gets the updates you will be prompted to update all the App Connect components to the new versions, so everything will be App Connect 2 optimized.
With the standard components you don’t need to change anything. If you have created some custom components yourself, it is possible that you have to update that code.
The _updateValue is only for inputs, I believe it was used to get the select2 plugin working with App Connect 2. In most cases you probably just set some data using node.dmxComponent.set('value', newValue) or update some property like node.dmxComponent.props.disabled = true. These will trigger the update of all the dependencies automatically with App Connect 2.
startBatch() and endBatch() are 2 new actions for the dataStore to be used in flows, you can see this as transactions in databases, it batches the updates/inserts and only update the data after endBatch is called. This prevents unnecessary updates in the DOM for each data change.