Closed Shoreasg closed 8 months ago
Just wanted to mention, we're now hitting this in nextjs
13.4 with app router - it's shipping a canary of React
that has the deprecation warning.
Looking at the code, it seems to be a one-line change to fix it. I'll open a simple PR.
With the release of Nuka v8, defaultProps have been removed from the codebase
Nuka Version: 5.41 React Version: 18.2.0 Chrome
Problem Carousel: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead. Getting this error due to this PR
https://github.com/jsx-eslint/eslint-plugin-react/issues/2396 https://github.com/facebook/react/pull/16210
Need to fix this before the release of react 18.3.0