`banana-in-box` can be deprecated once new Angular compiler checks have auto-fixing
See original GitHub issueAccording to https://github.com/angular/angular/issues/42966, the compiler will start complain about wrong syntax in two-way binding
, like we already do in banana-in-box
rule.
In fact, the check has already been implemented in https://github.com/angular/angular/pull/42984 (https://github.com/angular/angular/commit/d6411c27291b69f46b3b7f648d3445c9c4ba3a4a) and https://github.com/angular/angular/pull/43232 (https://github.com/angular/angular/commit/fc85fa85ba7400b8a9b8a34677c6ada8ad301676).
So, with this in mind, should the banana-in-box
rule be deprecated? cc @JamesHenry
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Angular compiler options
When you use ahead-of-time compilation (AOT), you can control how your application is compiled by specifying template compiler options in the TypeScript ...
Read more >Ahead-of-time (AOT) compilation - Angular
The AOT compiler detects and reports template binding errors during the build step before users can see them. Better security, AOT compiles HTML...
Read more >Angular CLI Strict Mode
To opt into the strict mode, you need to create a new Angular CLI app ... One additional check we've enabled is the...
Read more >How the Angular Compiler Works
The Angular Compiler (which we call ngc) is the tool used to compile Angular applications and libraries. ngc is built on the TypeScript ......
Read more >Angular v15 is now available!
Over the past year we removed Angular's legacy compiler and rendering ... You can build a multi-route application using the new router ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
FYI Joost from the Angular Team said that these compiler checks are still behind a flag so it’s not time to deprecate it yet
Cool, good catch! Yeah looks like we should mark this as deprecated in v13 onwards