- React Material:UI Cookbook
- Adam Boduch
- 52字
- 2021-06-24 15:49:40
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.