Open simonpai opened 11 months ago
For now, we are simply skipping bindings when the weak reference of value on item elements are not ready yet. The binding refresh are invoked twice because:
We are keeping the first route due to recommendation SSR tracking support, but this may be changed in the future.
When the DOM is refreshed without handling workflows, the bindings are gone and break the trackers. We can recover the bindings from scratch by matching elements with
data-role="item"
elements and data in the hub.