despite of having state store which contain all the state. Why we
are passing state as a props to component like Timeline.js, Event.js etc.
By using connect(https://react-redux.js.org/api/connect) for accessing particular state required by respective components despite of passing the state as props to respective components.
despite of having state store which contain all the state. Why we
are passing state as a props to component like Timeline.js, Event.js etc.
By using connect(https://react-redux.js.org/api/connect) for accessing particular state required by respective components despite of passing the state as props to respective components.