Replies: 2 comments
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
root*的属性可以解决大量生产工程的兼容性问题;+1 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
📋 RFC
Summary
Each components that has validate dom support
rootClassName
rootStyle
which always point to root dom element.Basic example
Motivation
Not all of the component point
className
orstyle
to root dom element.Detailed
To make this RFC done:
rootClassName
rootStyle
for each componentDrawbacks
Some simple component not need this but for api align we add it.
Adoption strategy
feature in minor
Beta Was this translation helpful? Give feedback.
All reactions