4 ms·
Sorry but what? What do you do when a parent component needs access to a particular slice of state? Refactor the entire tree? What about deeply nested component
by yawnr 4y ago
Sorry but what? What do you do when a parent component needs access to a particular slice of state? Refactor the entire tree? What about deeply nested components? Prop drill 100 levels deep?
- bobkazamakis 4y agoemit and observe an event with a callback passed down?
- 8n4vidtmkvmk 4y agoplease no. my work does this and the events are completely untraceable. you have no idea what's listening to what or where it will be caught or prevented
- eviledamame 4y agooof