~/talk

NgRx Feature Creator

Talkat ng-conf 2022 · 2022-08-31..09-02· [angular]
links:none on file
slides:none on file

A new function createFeature in @ngrx/store (introduced v12.1) claims to generate a feature reducer plus memoized child selectors named with the select prefix and the feature selector with a State suffix so you no longer hand-write many selector functions. It uses TypeScript template literal types for strong typing, returns a feature object you can pass straight to StoreModule.forFeature, and the example code shows it working and reducing repetitive selector boilerplate.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.