Skip to content

Replace use of defaultProps with Javascript default parameters #2037

@emteknetnz

Description

@emteknetnz

When running any admin js with yarn dev, the console is fill with these sorts of warnings, which are really annoying

Image

Acceptance criteria

  • All functional components that use defaultProps are updated to used Javascript default parameters
  • All supported modules with javascript are updated
  • Target for patch release (not minor)

Kitchen sink CI

PRs

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions