Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 [Bug]:Warning: Prop style did not match. Server: "null" Client: "border-color:" #681

Closed
1 of 2 tasks
mao437303994 opened this issue Sep 15, 2023 · 0 comments
Closed
1 of 2 tasks
Labels
🕵️‍♂️ bug Something isn't working

Comments

@mao437303994
Copy link

Which React Vant packages are impacted?

  • react-vant (React Vant core)
  • react-vant-icons(React Vant Icon)

What version of React Vant are you using?

^3.3.1

Reproduce live demo(codesandebox or stackblitz)?

No response

Descripition

#595
微信图片_20230916034028
这个问题似乎并没有解决,在最新版本服务器渲染模式ssr下浏览器依然会发出这个警告。
微信图片_20230916033656
应该是这种偷懒的写法导致的,样式属性要么有值要么没值,这种写法没值会是个fasle,引起这种警告。希望作者有时间看下,对于完美主义者来说这个警告看着太闹心了

@3lang3 3lang3 added the 🕵️‍♂️ bug Something isn't working label Sep 18, 2023
@3lang3 3lang3 closed this as completed in b132e0d Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🕵️‍♂️ bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants