Matthieu Riegler

Results 644 comments of Matthieu Riegler

caretaker note: This is a doc only change, it's ok to merge into the v20 branch.

Can you please drop that merge commit ? We'd like this change to be a single commit.

Could you make sure that this change is a single commit by squash all commits together. Thank you.

This indeed works but the result won't be memoized and your function doesn't have access to DI like a pipe does. So this isn't exactly a 1-to-1 replacement.

Can you update the stackblitz link, it's currently a 404.

@zygarios Angular doesn't "see" those function calls, but only their result as part of the interpolation. Also how would the framework know if the function was pure or not ?

@zygarios Have a look at #20419. (You might end up in a loop of issues though 😅)

I feel like this is related to #42519. Queries return the order they have at compile time, not at runtime. See also #12284

I would expect this PR to also amend `component.ts` to remove the duplicate code and `reflectComponentType` should probably call `reflectDirectiveType`.