React Material:UI Cookbook
上QQ阅读APP看书,第一时间看更新

Rendering tabs based on state

Tabs in your React application might be driven by data. If so, you can set tab data in the state of your component to have them render initially and update if anything changes.