As it was already mentioned, it forces you think a bit more structured.
You can split everything into components / services / redux (ngrx, ngxs and many more) but if you like you can also put everything in just one AppComponent (not recommended xD)
You can use dependency injection, if you have a shared component, which uses a data-service (interface) you can provide a different service implementation based on what different app / place you want to use it.
Thanks to TypeScript you are also forced to be type-safe, which helps a lot! (Unless you want to type everything in : any , please don't do it xD)
Hmm..., guess I can't explain it to a 5yo.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I'm glad you didn't wrote "AngularJS" 🎉
As it was already mentioned, it forces you think a bit more structured.
You can split everything into components / services / redux (ngrx, ngxs and many more) but if you like you can also put everything in just one AppComponent (not recommended xD)
You can use dependency injection, if you have a shared component, which uses a data-service (interface) you can provide a different service implementation based on what different app / place you want to use it.
Thanks to TypeScript you are also forced to be type-safe, which helps a lot! (Unless you want to type everything in
: any
, please don't do it xD)Hmm..., guess I can't explain it to a 5yo.