angular/packages/core/src/render3
Paul Gschwendtner d57c1f50b4 refactor(core): correct types for queries where locator was not split at compile time (#53978)
Currently, Angular tries to recognize string locators/predicates for
queries at compile time, and attempts to split multi-selector predicates
into an array as generated output. This is a a performance optimization.

In practice, this works most of the time because the compiler can detect
string locactors/predicates through static analysis.

Though, there are cases where it's not possible. That is when advanced
constructs are used, identifier references etc. that ultimately evaluate
to a string. Currently this breaks with queries and also surfaces now
with signal-based queries.

PR Close #53978
2024-01-23 10:24:36 +01:00
..
debug refactor(core): type-safe global ng (#53439) 2024-01-09 12:17:48 -08:00
deps_tracker feat(core): show runtime error for orphan component rendering (#52061) 2023-10-10 15:30:26 -07:00
features refactor(core): detect signal inputs at runtime using input flags (#53571) 2024-01-04 12:07:13 -08:00
i18n refactor(core): cleanup references to dart (#49858) 2023-04-18 14:00:45 +00:00
instructions refactor(core): correct types for queries where locator was not split at compile time (#53978) 2024-01-23 10:24:36 +01:00
interfaces fix(core): TestBed should still use the microtask queue to schedule effects (#53843) 2024-01-11 12:05:57 -08:00
jit refactor(compiler-cli): support generation of signal-based queries (#53978) 2024-01-23 10:24:36 +01:00
reactivity fix(core): TestBed should still use the microtask queue to schedule effects (#53843) 2024-01-11 12:05:57 -08:00
styling refactor(core): minor improvements (#53751) 2024-01-03 10:27:37 -08:00
util refactor(devtools): Add support for signals. (#53269) 2024-01-17 16:47:17 -08:00
after_render_hooks.ts fix(core): afterRender hooks now only run on ApplicationRef.tick (#52455) 2024-01-08 11:30:27 -08:00
apply_value_input_field.ts refactor(core): detect signal inputs at runtime using input flags (#53571) 2024-01-04 12:07:13 -08:00
assert.ts refactor: fix a number of typos throughout the codebase (#52249) 2023-10-25 16:51:24 -07:00
bindings.ts refactor(core): Improve ExpressionChangedAfterItHasBeenCheckedError (#50286) 2023-05-16 09:24:51 -07:00
CODE_GEN_API.md refactor(ivy): Move instructions back to ɵɵ (#30546) 2019-05-20 16:37:47 -07:00
collect_native_nodes.ts refactor(core): Remove LContainerFlags.HasChildViewsToRefresh (#53715) 2024-01-03 13:01:35 -08:00
component.ts docs: fix missing information in createComponent (#51493) 2023-09-01 16:15:12 +00:00
component_ref.ts refactor(core): detect signal inputs at runtime using input flags (#53571) 2024-01-04 12:07:13 -08:00
context_discovery.ts feat(core): Mark components for check if they read a signal (#49153) 2023-03-27 11:19:06 -07:00
definition.ts refactor(core): detect signal inputs at runtime using input flags (#53571) 2024-01-04 12:07:13 -08:00
definition_factory.ts refactor(compiler): move factory out of injector definition (#41022) 2021-03-08 15:31:30 -08:00
di.ts Revert "refactor(core): rename ViewRef<T> to InternalViewRef<T> and remove existing InternalViewRef (#52430)" (#52484) 2023-11-01 10:13:12 -07:00
di_setup.ts feat(devtools): create profiler for DI and injector events (#48639) 2023-08-01 11:44:40 -07:00
errors.ts refactor(core): Improve NG100 (#50391) 2023-05-23 15:31:17 +00:00
errors_di.ts refactor(core): remove duplicate stringify (#53751) 2024-01-03 10:27:37 -08:00
fields.ts feat(core): introduce concept of DestroyRef (#49158) 2023-02-28 11:52:09 -08:00
global_utils_api.ts feat(core): introduce getDirectiveMetadata global debugging utility (#41525) 2021-04-13 16:06:32 -07:00
hooks.ts refactor: move signals code into primitives package (#51986) 2023-10-06 15:12:00 -07:00
index.ts refactor(compiler-cli): support generation of signal-based queries (#53978) 2024-01-23 10:24:36 +01:00
list_reconciliation.ts perf(core): optimize memory allocation when reconcilling lists (#52245) 2023-12-08 15:00:13 -08:00
local_compilation.ts refactor(core): print the errors related to computing component dependencies to the console in local compilation mode (#51824) 2023-09-20 12:25:40 +02:00
metadata.ts refactor(core): delay applying component metadata until it's needed in tests (#52708) 2023-11-09 16:58:06 +00:00
namespaces.ts refactor(core): remove several private utils and APIs (#48357) 2022-12-05 14:35:08 -08:00
ng_module_ref.ts refactor(core): update bootstrapApplication to get NgZone from providers (#49557) 2023-03-31 11:56:09 -07:00
node_assert.ts ci: add lint error for files with missing trailing new-line (#42478) 2021-06-04 13:31:03 -07:00
node_manipulation.ts refactor(core): node removal notifies scheduler only when animations are enabled (#53857) 2024-01-19 10:28:24 +01:00
node_manipulation_i18n.ts refactor(core): remove assumptions that component will be first in directives list (#47490) 2022-09-21 10:05:32 +02:00
node_selector_matcher.ts fix(core): more accurate matching of classes during content projection (#48888) 2023-03-20 16:07:13 +01:00
PERF_NOTES.md docs: update links to use HTTPS as protocol (#39718) 2020-11-20 12:52:16 -08:00
pipe.ts refactor(compiler): Fix pipeBinding variable offsets in template pipeline (#51961) 2023-10-02 16:58:03 -07:00
profiler.ts perf(core): add private hooks around user code executed by the runtime (#41255) 2021-04-02 10:34:23 -07:00
pure_function.ts fix(core): Store the currently selected ICU in LView (#38345) 2020-08-10 12:41:17 -07:00
query.ts refactor(core): re-organize queries code (#53922) 2024-01-16 16:00:34 -08:00
reactive_lview_consumer.ts refactor(core): Do not refresh view if producers did not actually change (#52476) 2023-11-02 13:23:49 -07:00
scope.ts refactor(core): flatten and resolve ng-module bootstrap info in local compilation mode (#51767) 2023-09-18 16:59:55 +02:00
state.ts feat(core): implement deferred block interaction triggers (#51830) 2023-09-22 12:17:54 -07:00
STORING_METADATA_IN_D.TS.md docs: convert the last my-app components to app-root (#42256) 2021-05-25 22:13:36 +00:00
tokens.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
TREE_SHAKING.md docs(ivy): add feature principle doc (#21565) 2018-01-17 17:01:09 -08:00
VIEW_DATA.md fix(compiler): generate less code for advance instructions (#53845) 2024-01-09 12:27:58 -08:00
view_engine_compatibility_prebound.ts feat(core): add support for Types in ViewContainerRef.createComponent (#43022) 2021-09-29 13:49:13 -07:00
view_manipulation.ts fix(core): support swapping hydrated views in @for loops (#53274) 2023-12-01 10:35:36 -08:00
view_ref.ts refactor(core): Add scheduler abstraction and notify when necessary (#53499) 2023-12-20 07:53:31 -08:00