Skip to content

[Request] Exports HTMLDOMPropertyConfig, SVGDOMPropertyConfig, and ARIADOMPropertyConfig in v16+ #10391

@gfx

Description

@gfx

This is a feature request.

In React v15.6, HTMLDOMPropertyConfig, SVGDOMPropertyConfig, and ARIADOMPropertyConfig are available by import them directly, e.g. import ReactHTMLDOMPropertyConfig from 'react-dom/lib/HTMLDOMPropertyConfig'. In v16, however, they are no longer available.

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions