XD why did you even pick react for? Ah because it's made by Facebook? Newbies started out with react years later they realized the project is a mess and take weeks to do 1 day jobs? Yeh. Now switching to Angular 🤷♂️
Oh, the interactive tutorials in the new web site will definitely come in handy to catch up. I hadn't really built anything with Angular since version 7, so this is appreciated.
"Hi Angular Team, @angular I've been reflecting on the current implementation of @Input and @Output in Angular and comparing it with React's approach to state and props. While Angular offers robust and powerful features, I find the process to set up @Input and @Output a bit more involved than React's straightforward handling of props. ------------------------------ React Props ----------------------------------------------------------------------- In React, passing data to components is quite streamlined, as shown in this simple example: . This one-line code effortlessly declares and passes props. ------------------------------ Angular Props long way to follow coding --------------------------------- Long way in Angular : On the other hand, Angular requires several steps to achieve similar functionality. For instance: 1) Steps 2) Steps : very long work in this steps import { Component, Input, Output, EventEmitter } from '@angular/core'; export class ChildComponent { @Input() dataFromParent: any; // appropriate type declaration @Output() notifyParent: EventEmitter = new EventEmitter(); } sendData() { this.notifyParent.emit('Some data from child'); } // Request : in this 2 steps @input we need to import and tell to component hey this is input . Can we skips this steps for import @input and @Output ? and directly just mentions props name only "dataFromParent" ? and it need to identify / figure out itself it input or output type..! . and same for Output first we need to import Output event emitter and then need to emit that methods which is really TDS work ..! 3) Steps : {{ dataFromParent }} And same issue for @output implementation in angular which takes more stapes to implements. @Angular Team just a request : Could we have a shorthand for implementing @Input and @Output in Angular? Something similar to React's props syntax for simpler and faster coding. This would really streamline frequent property usage in Angular development.
I am currently writing my project again In 17 ..it is in 16 and I know I can do ng update but I LOOOVE writing control flow myself especially lazy loading components 🤤 damm
the problem is the tutorial ion the documentations are still not aligned with angular 17 , especially when try to implement the routing which exist by default
Is there a way to extend a Component dynamically with a Model class and then bind to the properties of the Model class within the View? Extending the Component with a Model class is doable, just Angular will not compile when I attempt to bind to a property of the Model using Rx.js. Put this feature in Angular 18 please if it is not already available.
I just hope you guys let the classes approach and don't go fully react , oop is what made using a lot of programming patterns to structure things and organize , functional programming easily creates a mess of nested functions.. I'm happy with all the improvement but afraid angularjs case happening again
Hi sir. how to run : npm run build in Dockerfile with Angular 17. I'm trying since a day to deploy Angular 17 app on Nginx . I just see welcome to to Nginx not my app 🤮
I tried but , my app is displaying blank page, i've been struggling for one week, i thought there is a problem some of my libraries, Thank you🙏 @@Angular