use preload in fetch materialize react code example Example: react materilize npm install materialize-css@next npm install react-materialize