Skip to content
This repository was archived by the owner on Jan 15, 2022. It is now read-only.
This repository was archived by the owner on Jan 15, 2022. It is now read-only.

React.DOM.tr deprecation warning in React v16.0+ #381

@jasonblanchard

Description

@jasonblanchard

After upgrading to React v15.6.1, I'm seeing this deprecation warning:

lowPriorityWarning.js:40 Warning: Accessing factories like React.DOM.tr has been deprecated and will be removed in v16.0+. Use the react-dom-factories package instead.  Version 1.0 provides a drop-in replacement. For more info, see https://fb.me/react-dom-factories
printWarning	@	lowPriorityWarning.js:40
lowPriorityWarning	@	lowPriorityWarning.js:59
React.DOM.(anonymous function)	@	React.js:123
render	@	tr.js:78
...
...

Looks like tr.js:78 is a Reactable file.

I'm not sure if using react-dom-factories is the best solution here or refactoring it to avoid the call altogether.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions