refactor(ivy): Update query-related comments (#29342)
Just updating comments in query-related things to make it easier for the next person that has to grok this for the first time. Also adds a demo from @mhevery to one of the query specs Related #29031 PR Close #29342
This commit is contained in:
@ -365,7 +365,9 @@ export function query<T>(
|
||||
/**
|
||||
* Refreshes a query by combining matches from all active views and removing matches from deleted
|
||||
* views.
|
||||
* Returns true if a query got dirty during change detection, false otherwise.
|
||||
*
|
||||
* @returns `true` if a query got dirty during change detection or if this is a static query
|
||||
* resolving in creation mode, `false` otherwise.
|
||||
*/
|
||||
export function queryRefresh(queryList: QueryList<any>): boolean {
|
||||
const queryListImpl = (queryList as any as QueryList_<any>);
|
||||
|
Reference in New Issue
Block a user