avoid-loadtheme
loadTheme
is a way to provide a theme in global (and only global) scope, which will affect your entire application. We recommend that you replace loadTheme
with ThemeProvider
. That way, your application consistently has one way of providing a theme.
Recommendation
For details on the correct ThemeProvider
usage go to the ThemeProvider documentation.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for