diff --git a/docs/src/pages/components/expansion-panels/expansion-panels.md b/docs/src/pages/components/expansion-panels/expansion-panels.md index ca84c269dcbf4c..88667f88231f7a 100644 --- a/docs/src/pages/components/expansion-panels/expansion-panels.md +++ b/docs/src/pages/components/expansion-panels/expansion-panels.md @@ -43,10 +43,10 @@ The content of ExpansionPanels is mounted by default even if the panel is not ex This default behavior has server-side rendering and SEO in mind. If you render expensive component trees inside your panels or simply render many panels it might be a good idea to change this default behavior by enabling the -`unmountOnExit` in `TransitionProps`: +`mountOnEnter` in `TransitionProps`: ```jsx - + ``` As with any performance optimization this is not a silver bullet. Be sure to identify