createImmediateUpdates abstract method
Return code that will immediately set the query contents at build-time.
This is an optimization over createDynamicUpdates and requires that:
- The query origin is
@ViewChild
or@ContentChild
(single item). - No part of the query could be inside of a
<template>
(embedded).
In practice, most queries are compiled through createDynamicUpdates, In the future it will be possible to optimize further and use this method for more query types.
Implementation
List<o.Statement> createImmediateUpdates();