Stop Micromanaging State and Start Being Reactive - Lara Newsom | NG-DE 2022

preview_player
Показать описание
🎤 Lara Newsom - "Stop Micromanaging State and Start Being Reactive!"

Is your component full of local properties to hide and show panels? Do you need to call ‘refresh’ functions to make sure your state is up to date? Then you might be micromanaging your state. The good news is there is an easier way! In this talk we will cover some common micromanagement anti-patterns and go over some solutions to start making your app more reactive.

❤ About NGDE:
NG-DE is the first community-driven Angular conference in Germany.

📱 Follow Us

🏷️ Tags:
#angular
#ngde2022
Рекомендации по теме
Комментарии
Автор

Used all the reactive techniques, split to loosely coupled components, including reactive subforms as separate configurable components, moved lots of logic to services, a route resolver… still 3500 ended up with lines of code in the parent route level component over 4 years of project evolution… 🤷‍♀️
Also tend to transform subjects to Observable with the asObservable method which helped save subjects from external interference and mutations.

programmistka_v_amerike