Warning: React does not recognize the `_customComponent` prop on a DOM element.
jink-e opened this issue ยท comments
Jinke Yu commented
Warning: React does not recognize the `_customComponent` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `_customcomponent` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
env:
"@emotion/react": "11.10.4",
"@emotion/styled": "11.10.4",
"@react-page/editor": "^5.1.5",
"react": "17.0.2",
"react-dom": "17.0.2",
Originally posted by @jink-e in #1187 (comment)
reproduce
const TestPlugin = {
Renderer: (props) => <div>hello</div>,
id: 'test-plugin',
title: 'title',
description: 'description',
version: 1,
controls: {
type: 'autoform',
schema: {
required: ['backgroundColor'],
properties: {
backgroundColor: {
type: 'string'},
},
},
},
};
Marco Wettstein commented
๐ This issue has been resolved in version 5.2.0 ๐
The release is available on:
v5.2.0
- GitHub release
Your semantic-release bot ๐ฆ๐