Skip to content

Support types from React@17 in react-property #14

@AndrewLeedham

Description

@AndrewLeedham

👋
I am seeing the following error:

Warning: Invalid DOM property `disableremoteplayback`. Did you mean `disableRemotePlayback`?

when using html-react-parser@1.2.7 to parse <video disableremoteplayback></video>, I traced it down to react-property which relies on react-dom@15, disableRemotePlayback looks to have been added in react@17 here: facebook/react@5f6b75d

Having a look through the previous issues here it seems React internals changed so upgrading this package to react@17 is not as simple as a dependency update. I am not sure what would be involved here, but just wanted to raise the issue with my findings. For now I can workaround the issue with a replace function.

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions