flowchart LR User([User code]) -->|dispatch event| Store Store -->|state + event| Reducer Reducer -->|new state| Store Store -->|read| UserThree rules make Redux what it is.
flowchart LR Event[Event] --> R1[Solar reducer] --> S1[Solar slice] Event --> R2[Battery reducer] --> S2[Battery slice] Event --> R3[Meter reducer] --> S3[Meter slice]Here’s the observation that started everything: the reducers are independent.
A slice reducer is a reducer that only sees its slice.
For each slice, I look up the reducer in the reducer HList whose Slice associated type matches that slice.
D2 --> D3[Match at position 0] D2 --> D4[Match at position 2] D3 & D4 --> D5[Ambiguous: compile error] end subgraph Mi…
2 часа назад @ corentin-core.github.io
infomate