Hacker News new | ask | show | jobs
by tomaszs 1957 days ago
Regular binding in Angular is straight forward: you can pass params to child component and you can bind to events. Child does not know about parent by design. So it is a good practice baked in Angular.

If it comes to the question. I think you have answered yourself by writing React won't stop you from making bad design decisions.

1 comments

I was specifically talking about data fetching there. You can absolutely do the same kind of bad thing in an ngOnInit method.