team-de-la-canvas / huhhu

Connecting like-minded students - A feasibility prototype
https://huhhu.app
1 stars 0 forks source link

regarding docs: match is never dispatched! It should be! #28

Closed themassiveone closed 1 year ago

themassiveone commented 1 year ago

a root problem came up: Diagramm doesnt match reality. It doesnt effect logic, it just adds a layer of confusion, not dispatching the first action. Two slices shouldnt talk to each other without dispatching. This is the root cause, why hunting/match never actually shows up

themassiveone commented 1 year ago

Match is actually not the action itself. This dispatch passes through to postData(), which is actually a thunk. There should be a layer of indirection in between