Skip to content

[BUG] 浏览器控制台报一些小驼峰的警告 #134

Open

Description

@yunstyle8023

接入的时候,有一些属性是小驼峰的,在浏览器中会报出警告
Warning: React does not recognize the flexGrow prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase flexgrow instead. If you accidentally passed it from a parent component, remove it from the DOM element.
image
image

怎么可以让它不报警告

环境信息(Environment)

  • mac
  • Browser: chrome
  • Codeblitz Version: react
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions