I have tried to assign multiple this.props
properties at once in the Child Component:
const {readings, wantRead, read} = this.props;
When I tried to use readings
as the props in the next child component, it seems just undefined and error out.
But here the weirdest stuff is if I first assign the this.props
properties one by one like:
const readings = this.props.currentlyReading;
Then used the readings
inside the next child component, it just works fine.
Not really sure what happened at first????