logoalt Hacker News

pan69yesterday at 7:45 PM2 repliesview on HN

   import {signal} from "@angular/core"
   import {form} from "@angular/forms/signals"
So, signal comes out of core and form comes out of forms/signals. This must be a terminology thing I don't get.

Other than that. Looking forward to try Angular again after a decade of absence. I think it looks pretty good.


Replies

majora2007yesterday at 8:51 PM

Signals are a privative data structure in Angular, hence core. Signal-based forms are part of the Forms module. You aren't using forms, you don't get the overhead.

show 1 reply
vyrotekyesterday at 7:48 PM

There are a lot of ways to do Forms in Angular. I assume that's importing the new "Signals" based form.