[Feature]: Remove the encoding "D" prefix in component
⭐ Remove the "D" prefix in component names
Thrilled to see Huawei has open-source projects in the frontend field.
One thing that is confusing is why we have a prefix "D" in all our components?
If I am an end developer user and as the author of some codebase, my future codebase reader can be confused with
- what is "D" there?
- Also, the "D" doesn't convey any meaning at all
- it is a mental burden to developers.
📃 Motivating Example
My concerns arise from reading Clean Code, at the first chapter, Avoid Encodings.
We add the prefix every component, because we hope the component name is special enough that we know it's component of devui and avoid same name with other components. And I think the design of codes is complex, no one pattern can use everywhere.
⭐ Remove the "D" prefix in component names
Thrilled to see Huawei has open-source projects in the frontend field.
One thing that is confusing is why we have a prefix "D" in all our components?
If I am an end developer user and as the author of some codebase, my future codebase reader can be confused with
- what is "D" there?
- Also, the "D" doesn't convey any meaning at all
- it is a mental burden to developers.
📃 Motivating Example
My concerns arise from reading Clean Code, at the first chapter, Avoid Encodings.
I remove the "D" prefix in laser-ui. I hope prop keep same as the pure element, as <Input placeholder="Basic" /> instead of <Input dPlaceholder="Basic" />