diff --git a/examples/nextjs-hooks/src/bootstrap.js b/examples/nextjs-hooks/src/bootstrap.js index a92e7c8483b890..d0d26b4bbb954e 100644 --- a/examples/nextjs-hooks/src/bootstrap.js +++ b/examples/nextjs-hooks/src/bootstrap.js @@ -1,4 +1,10 @@ -// Use the same helper as Babel to avoid bundle bloat. import { install } from '@material-ui/styles'; +// We will make @material-ui/styles the default style implementation +// for the core components in Material-UI v4. +// This installation step is temporary. +// Behind the scenes, the install() function switches the +// styling engine the core components use. +// +// https://material-ui.com/css-in-js/basics/#migration-for-material-ui-core-users install();