8000 Warning: React does not recognize the `_customComponent` prop on a DOM element. · Issue #1245 · react-page/react-page · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Warning: React does not recognize the _customComponent prop on a DOM element. #1245
Closed
< 7666 /div>
@jink-e

Description

@jink-e
    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'},
      },
    },
  },
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0