atomic-layout icon indicating copy to clipboard operation
atomic-layout copied to clipboard

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

Open gsparrowpepin opened this issue 2 years ago • 0 comments

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

gsparrowpepin avatar Mar 16 '22 13:03 gsparrowpepin