Skip to content

Console Error Regarding Future Removal of defaultProps #112

@abhishek-junghare

Description

@abhishek-junghare

Describe the bug

Getting a warning error from the React Developer Tools extension regarding the future removal of defaultProps

To Reproduce

Steps to reproduce the behavior:

  1. Add any Preloader
  2. Go to Console

Extension link - React Developer Tools

Error Message

Warning: Preloader: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.

Desktop (please complete the following information):

  • Windows 11
  • Chrome
  • 131.0.6778.205

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