react-super-responsive-table icon indicating copy to clipboard operation
react-super-responsive-table copied to clipboard

replace defaultProps to default parameters

Open Pafestivo opened this issue 1 year ago • 1 comments

Describe the bug Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.

image

Pafestivo avatar Jul 13 '23 08:07 Pafestivo

Hi @coston, just wanted to ask - will this be addressed in a future release?

marcellosilvestri avatar Nov 15 '23 11:11 marcellosilvestri

Resolved by https://github.com/coston/react-super-responsive-table/pull/534

Would be great to get that merged in.

brycehanscomb avatar Apr 09 '24 01:04 brycehanscomb

Hey folks, thanks for your interest in improving this package. I just reviewed #534, there's a bug in that PR. I am accepting minimal PRs that fix the warning.

coston avatar Apr 09 '24 22:04 coston

@coston here's an alternative attempt at resolving this issue:

https://github.com/coston/react-super-responsive-table/pull/613

brycehanscomb avatar Apr 10 '24 02:04 brycehanscomb

Thank you, @brycehanscomb and @Pafestivo. The fix is released in v5.2.3 🚀

coston avatar Apr 10 '24 14:04 coston

:tada: This issue has been resolved in version 5.2.3 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

github-actions[bot] avatar Apr 10 '24 14:04 github-actions[bot]