react-multi-select
react-multi-select copied to clipboard
Update to React 18, mid-2022 stack
Upgrade dependencies to React 18. Could have been v17 but there are only minor changes between them, so no big deal. Everything should continue to work as expected with no breaking changes (at least for the cases that I tried).
No refactorings were made other than the strictly necessary, like adding UNSAFE_ prefix to some event handlers.
Replaced some deprecated, outdated, no longer maintained libs.
Some tests were not migrated as they rely too much on props matching and other implementation details that were possible with enzyme, and I ran out of willingness to refactor them.