Closed geoerika closed 1 year ago
https://www.notion.so/eqproduct/Reverse-state-destructuring-eafa4aaddc3643939ea832a1cfda1e44?pvs=4
Problem: I did some refactoring in components to the way state is defined by using state destructing. I am reversing to the initial state definitions: ex:
const dataReady = useStoreState((state) => state.dataReady)
to avoid issues mentioned here:
https://github.com/ctrlplusb/easy-peasy/issues/212#issuecomment-504594010
https://www.notion.so/eqproduct/Reverse-state-destructuring-eafa4aaddc3643939ea832a1cfda1e44?pvs=4
Problem: I did some refactoring in components to the way state is defined by using state destructing. I am reversing to the initial state definitions: ex:
to avoid issues mentioned here:
https://github.com/ctrlplusb/easy-peasy/issues/212#issuecomment-504594010