This topic created in 2015 days ago, the information mentioned may be changed or developed.
好像 React 没有完成加载前永远是亮色模式,导致会闪一下,这在环境暗的情况下用户体验极差。官方文档也有这问题,说明应该不是我的实现问题。请问有什么好的解决方案吗?
2 replies • 2021-04-29 12:09:13 +08:00
 |
|
在 html 的头部给 html 加一个暗色背景色。
|
 |
|
@ noe132 #1 那用户在亮色模式下切换页面也会闪一下。
|