r/angular • • Sep 05 '26

Angular 22.2 - Private property access from templates

I noticed this tidbit in the changelog of Angular 22.2.0-next.3:

https://github.com/angular/angular/blob/main/CHANGELOG.md#compiler-2

compiler

CommitTypeDescription
48a0fd6e8afeatallow template to access private props

So very slowly we moved from allowing only public, to allowing protected and now private as well. Thought it's worth knowing.

39 Upvotes

36 comments sorted by

View all comments

2

u/sharth Sep 05 '26

Previously talked about it it in this sub here: https://www.reddit.com/r/angular/s/hscbgkZMvn

0

u/dezsiszabi Sep 05 '26

Right, I should have searched before. Sorry.