Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Modern Angular with the NGRX Signal Store New R...
Search
Manfred Steyer
PRO
September 18, 2024
Programming
70
0
Share
Modern Angular with the NGRX Signal Store New Rules for Your Architecture @BASTA 2024 in Mainz
Manfred Steyer
PRO
September 18, 2024
More Decks by Manfred Steyer
See All by Manfred Steyer
Migration to Signals, Signal Forms, Resource API, and NgRx Signal Store @Angular Days 03/2026 Munich
manfredsteyer
PRO
0
200
AI Assistants for YourAngular Solutions @Angular Graz, March 2026
manfredsteyer
PRO
0
130
AI Assistants for Your Angular Solutions @ngVienna March 2026
manfredsteyer
PRO
0
65
AI Assistants for Your Angular Solutions
manfredsteyer
PRO
0
170
Nostalgia Meets Technology: Super Mario with TypeScript
manfredsteyer
PRO
0
120
Full Cycle Reactivity in Angular: SignalStore mit Signal Forms und Resources
manfredsteyer
PRO
0
86
Premier Disciplin for Micro Frontends Multi Version/ Framework Scenarios @OOP 2026, Munic
manfredsteyer
PRO
0
240
Beyond the Basics: Signal Forms
manfredsteyer
PRO
0
150
360° Signals in Angular: Signal Forms with SignalStore & Resources @ngLondon 01/2026
manfredsteyer
PRO
0
230
Other Decks in Programming
See All in Programming
20260320登壇資料
pharct
0
140
How to stabilize UI tests using XCTest
akkeylab
0
150
ロボットのための工場に灯りは要らない
watany
12
3.2k
AI 開発合宿を通して得た学び
niftycorp
PRO
0
180
Linux Kernelの1文字のミスで 権限昇格ができた話
rqda
0
2.2k
AIと共にエンジニアとPMの “二刀流”を実現する
naruogram
0
110
Reactive ❤️ Loom: A Forbidden Love Story
franz1981
2
210
モックわからないマン卒業記 ~振る舞いを起点に見直した、フロントエンドテストにおけるモックの使いどころ~
tasukuwatanabe
3
430
PHPで TLSのプロトコルを実装してみる
higaki_program
0
610
Coding at the Speed of Thought: The New Era of Symfony Docker
dunglas
0
3.6k
モダンOBSプラグイン開発
umireon
0
190
どんと来い、データベース信頼性エンジニアリング / Introduction to DBRE
nnaka2992
1
350
Featured
See All Featured
From π to Pie charts
rasagy
0
160
Code Reviewing Like a Champion
maltzj
528
40k
Bash Introduction
62gerente
615
210k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
240
A Tale of Four Properties
chriscoyier
163
24k
Information Architects: The Missing Link in Design Systems
soysaucechin
0
850
Art, The Web, and Tiny UX
lynnandtonic
304
21k
Mobile First: as difficult as doing things right
swwweet
225
10k
How to Think Like a Performance Engineer
csswizardry
28
2.5k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.8k
How Software Deployment tools have changed in the past 20 years
geshan
0
33k
Tell your own story through comics
letsgokoyo
1
880
Transcript
AngularArchitects.io | @ManfredSteyer Modern Angular with the NGRX Signal Store
New Rules for Your Architecture
"Krapfen"
None
None
Small Change => Huge Impact
What if we changed for a lightweight store?
How do Lightweight Stores Change Architecture Rules?
Stores Streamline Reactive Flow Component Lightweight Store method() Observables, Signals,
etc. sync/ async
Two Reasons for a Store Manage State Streamline Dataflow
None
None
None
Stores Streamline Reactive Flow Component Lightweight Store method() Observables, Signals,
etc. sync/ async Currently: Main Use Case for Signas
Some Lightweight Stores … Akita Elf Pinia NGRX Signal Store
Agenda 1) Baseline Architecture 2) How Large Should a Store
be? 3) Where To Put The Store? 4) Global and/or Local State? 5) Preventing Cycles, Redundancies, and Inconsistencies
About me… Manfred Steyer, ANGULARarchitects.io (Remote) Angular Workshops and Consulting
Google Developer Expert for Angular Blog, Books, Articles, and Talks about Angular Manfred Steyer
Baseline Architecture
Stack NGRX Signal Store Angular Nx Monorepo
Booking Boarding Shared Feature Feature Feature Feature Feature UI UI
UI UI UI UI UI UI UI Data Data Data Data Data Data Util Util Util Util Util Util Enterprise Monorepo Patterns, Nrwl 2018: https://tinyurl.com/y2jjxld7 @ManfredSteyer Smart Comp. Dumb Comp.
Nx Libs: Modularization Incremental CI/CD Build Cache Parallelization in Builds
Sheriff: Module Boundaries on a per-folder basis @softarc/eslint-plugin-sheriff Works with
and without Nx
Nx & Sheriff Folders: Modularization Incremental CI/CD Build Cache Parallelization
in Builds Sheriff
Demo
How Granular Should it be?
Feature Sub- Feature
Where to put the Store?
Booking Boarding Shared Feature Feature Feature Feature Feature UI UI
UI UI UI UI UI UI UI Domain Domain Domain Domain Domain Domain Util Util Util Util Util Util Enterprise Monorepo Patterns, Nrwl 2018: https://tinyurl.com/y2jjxld7 @ManfredSteyer Feature
Feature UI Data Util Redux Feature Slice
Feature UI Data Util Lightweight Stores Cmp Cmp Lightweight Stores
can live everywhere! Component vs. Module Exposed vs. Hidden
Demo
Global vs. Local State?
Global vs. Local FeatureStore DomainStore FeatureService UtilityStore
Demo
Cycles, Redundancies, and Inconsistencies
Let's think it through … • Layering • Prevent Stores
accessing each other • Redux DevTools
Demo
Free eBook (6th Edition) angularArchitects.io/ebook
Conclusion Lightweight Stores … … size of a (sub-)feature …
can live everywhere … orchestrated by a feature service … leverage layering to prevent cycles … Use DevTools!
Conclusion NGRX … … de facto standard for State Management
in Angular … Signal Store: lightweight and highly extensible
Conclusion Architecture … … vertically sliced by domains … horizontally
by layers … enforced by Sheriff … fast builds with Nx … visualized with Detective
"Krapfen"
ManfredSteyer AngularArchitects.io Slides & Examples Remote Company Workshops and Consulting
http://angulararchitects.io