react-tabs
react-tabs copied to clipboard
Components Rendering Issue
I am rendering multiple components in different react-tabs but whenever I switch between those tabs my components gets re-render. Is there anyway to stop this re-rendering on switching tabs?
Hi I am facing the same issue were you able to solve this if yes plz can you tell me how did you solved it thanks
Try adding forceRenderTabPanel={true} to your <Tabs> component. That fixed a similar issue for me
forceRenderTabPanel={true} renders all tabs at the same time,. So it solves the rendering issue, but creates another, making the tabs useless.