79242130

Date: 2024-12-01 17:43:17
Score: 1
Natty:
Report link

For the versions of angular 17+, the new syntax is like so:

@if(user$ | async; as user) {
    <h3> {{user.name}} </h3>
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Faouzi Chabchoub