get(':root') has different semantics
Oh my goodness! v2.0!
Nothing special, folks, this is just semver-compliant. Almost nothing changed with v2.0, only one feature with a breaking API:
- DOM.get(':root') first emits the top-most container element given to makeDOMDriver()
This means the first event emitted by get(':root')
will not anymore be the first diff & patch rendering. Instead, it will be exactly the same element you gave as container
in makeDOMDriver(container)
. This feature enables client-side rendering to be skipped for the first UI tree if it has been rendered server-side. See this isomorphic example.