reaviz / reaflow

🎯 React library for building workflow editors, flow charts and diagrams. Maintained by @goodcodeus.
https://reaflow.dev
Apache License 2.0
2.11k stars 122 forks source link

refactor: defaultProps deprecated #214

Closed HHongSeungWoo closed 1 year ago

HHongSeungWoo commented 1 year ago

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[x] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

First of all, thank you for creating such a great library.

After React 18, i will see a warning in the console when using defaultProps.

HHongSeungWoo commented 1 year ago

I ran linter, and it changed the formatting a lot...