mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
8f8c5a67a191dfb81e56b60dd2798412ee8b0eeb
Normally we allow any attribute/property on custom elements. However it's a shared namespace. The `aria-` namespace applies to all generic elements which are shared with custom elements. So arguably adding custom extensions there is a really bad idea since it can conflict with future additions. It's possible there is a new standard one that's polyfilled by a custom element but the same issue applies to React in general that we might warn for very new additions so we just have to be quick on that. cc @josepharhar DiffTrain build for commit https://github.com/facebook/react/commit/1a1d61fed98a02c9b1bac029d0bc11c3e4db896d.
react-fbsource-import
Description
Languages
JavaScript
67.1%
TypeScript
29.4%
HTML
1.5%
CSS
1.1%
C++
0.6%
Other
0.2%