Practical lessons from building large scale sophisticated dashboards
summary
Shows concrete choices: replace many Subscription fields with a typed subscriptions object so each subscribe is one line per subscription and a single unsubscribe clears them; prefer TS-mockito for lightweight mocks that save hours over handwritten fakes; use NgXS for far less boilerplate and its synchronous snapshot selector; return fresh config objects to avoid shared mutations; add a 10 millisecond stagger to panel data loads to improve perceived performance.
AI-written summary · about
chapters (23)
- 0:00Intro
- 0:46Agenda
- 1:36Managing subscriptions
- 5:37Utility functions
- 7:51Mocking
- 8:42Mocking is doable
- 9:05Angular Material
- 11:28Mock Behavior
- 13:50Spying
- 15:13Mutability
- 17:30Takeaways
- 17:59Using Store
- 19:36Snapshot selection
- 21:32Dispatch actions
- 25:16Component Factory
- 26:10Configuration Object
- 26:35ComponentFactory
- 27:02Template
- 27:35Takeaway
- 27:45Small tricks
- 30:15Relative imports
- 31:26Key takeaways
- 32:05Thank you
related talks
34mBad Practices, how you should NOT do in Angular world
01h 45mRxJs from Scratch
35mAdvanced NgRx Techniques
33mStop Micromanaging State and Start Being Reactive
32mLevel up your NgRx game
01h 10mRxJS Advanced Patterns – Operate Heavily Dynamic UIs
25mThese ARE the Angular tips you are looking for
35mBad Practices, what NOT to do in Angular
