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

Lazy loading panel content

If you're rendering expansion panels that are all collapsed by default, you don't have to populate the ExpansionPanelDetails component up front. Instead, you can wait for the user to expand the panel—then you can make whatever API calls you need in order to render the content.