I have a problem in switching component. It's too slow to switch animation, there are more delays than 1000ms. My Component structure looks like this:
<div>
<Tabs
value={value}
onChange={this.handleChange}
>
<Tab label="Item One" />
<Tab label="Item Two" />
</Tabs>
{value === 0 && <TabContainer>Item One</TabContainer>}
</div>
The component is a complex component, where there are many data needs to be displayed. I want the < Tab > component to complete the switching animation immediately, instead of waiting to happen with the < TabContainer > component.