@@CodeWithAhsan thx, where admin could add a specific news from admin panel with title / post content / category - sub category / featured image - gallery for each news
Why we are using signals specifically ? Why don't we use normal variables and decorators. In what way signals are helping here rather than using the normal variables. I want to know the difference. Please let me know that. This video really helps a lot, Thanks :)
Great question! Normal variables are bound with Angular’s regular change detection with “zones” which trigger on http calls, browser events, and set timeout etc. it is not very performant that’s why we had the OnPush change detection strategy introduced. Signals take another approach. Instead of checking all “normal” variables (class properties) in components on every browser event, signals can actually notify angular themselves whenever the value of a signal changes. So you can opt for OnPush change detection in every single component and use signals for better performance.