mint
mint copied to clipboard
Reduce root div nesting

Take a look at the divs without classes.
When compiling Mint, it creates multiple nested divs. The way it was explained to me is that the root div is necessary as its used by React and extensions may interfere with the contents of <body>, confusing React, but the second div is used for listening events and the third div is from Main.mint (so in essence the third div is something I added myself).
I suggest combining the first and second div into one to reduce the unnecessary nesting.