I have a react app with these components. I can navigate to the center component with a back button from all these components from the left and then go to the other component from the cener component. I have implemented the routing using history.push() how do I implement a back button.
If I choose history.goBack(), when I come back from the compoent from the right. history.goBack() would just go back the component to the right