Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[Request] Exports HTMLDOMPropertyConfig, SVGDOMPropertyConfig, and ARIADOMPropertyConfig in v16+ #10391
This is a feature request.
In React v15.6, HTMLDOMPropertyConfig, SVGDOMPropertyConfig, and ARIADOMPropertyConfig are available by
I think they are not public parts of react-dom, but they are inevitable to implement https://github.com/Deschtex/html2react , a library to build React DOM from an HTML text.
See https://github.com/Deschtex/html2react/blob/master/src/react-properties-map.js#L1-L2 for how to use them.
I don't think we plan to expose them directly. Their format sometimes changes and we want to be able to make more under the hood changes to them in the future.
While it is a bit annoying I encourage you to just copy and paste them (and update if you notice changes on our side).