Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Console Error Regarding Future Removal of defaultProps #112

Open
abhishek-junghare opened this issue Jan 4, 2025 · 0 comments
Open

Console Error Regarding Future Removal of defaultProps #112

abhishek-junghare opened this issue Jan 4, 2025 · 0 comments

Comments

@abhishek-junghare
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant