Skip to content

Warning: React does not recognize the sortingOrder prop on a DOM element - DataGrid #355

@gsparrowpepin

Description

@gsparrowpepin

When:

  1. Add a DataGrid component
  2. Perform server-side rendering

Current behavior:

A console warning will appear due to invalid prop forwarding.

Warning: React does not recognize the 'sortingOrder' prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase 'sortingorder' instead. If you accidentally passed it from a parent component, remove it from the DOM element.

Expected behavior:

  • The prop should not be passed to the DOM
  • Console warning should not occur

Environment:

  • node vesrion: 14.19.0
  • npm version: NA
  • yarn version: 1.22.10

Related:

#301

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