When mini and non-mini layout types are used for different screen sizes and the position of the app bar is not fixed, screen resizing that causes the layout type to change will also unnecessarily re-render the component.
To Reproduce Steps to reproduce the behavior:
- Set different types of layouts (in my example,
temporary-mini and full-height)
- Set
fixed: false for appBarProps;
- Try resizing the screen to change the layout type
- See how the component is redrawn
Here is a sandbox describing the behavior (try clicking the "Click me" button to change the state of the component, then resize, the state will be reset): https://codesandbox.io/s/nervous-snowflake-spcbl
Screenshots
Before resize (test value is "TRUE"):

After resizing (state reset):

Package version is 2.9.0
Thanks!