defaultProps deprecation warning
PatrikTrefil opened this issue · comments
Many components in this library use defaultProps
, which causes a warning in newer versions of React. It is expected to replaced with JavaScript default parameters instead. (Detailed explanation)
(Example in source code](https://github.com/formio/react/blob/c966dd1d93d1ee5b5610496e2578ebc9ce153eb6/src/components/FormEdit.jsx#L164C13-L164C13)
I agree, and PRs are welcome!
Can i work on this issue?
That would be great @snehaljos!
is this issue still open ? if yes I would like to contribute.
hi @lokeshshinde08 I'm currently in the process of migrating our React components to TypeScript (done w/ Form, now onto FormBuilder and FormEdit cc: @PatrikTrefil) but thank you for the offer!