I have sample template (react, material-ui, asp core) with server rendering. I've source here https://github.com/Stoope/ASP_CORE_REACT. When I run the app I get warning in f12 tool console
React attempted to reuse markup in a container but the checksum was invalid. This generally means that you are using server rendering and the markup generated on the server was not what the client was expecting. React injected new markup to compensate which works but you have lost many of the benefits of server rendering. Instead, figure out why the markup being generated is different on the client or server: (client) ng:0px 24px;display:flex;justify-content (server) ng:0px 24px;display:-webkit-box,-moz-box
when i set useAgent: 'all' in Layout.tsx
const muiTheme = getMuiTheme({
userAgent: 'all',
});
it works without warnings but toolbar layout seems broken