This is a code repository for the corresponding YouTube video. In this tutorial we are going to build and deploy a an admin dashboard app using React.js and Syncfusion
In the ContextProvider.js file, the colorMode and the themeMode are stored in the localStorage. However, if the user reloads the site those changes are lost due to the hardcoded default settings.
In the
ContextProvider.js
file, thecolorMode
and thethemeMode
are stored in thelocalStorage
. However, if the user reloads the site those changes are lost due to the hardcoded default settings.