Skip to content

Support React v. 18#844

Open
patrykboch wants to merge 2 commits intoclauderic:masterfrom
patrykboch:bump-react-18-in-peer-deps
Open

Support React v. 18#844
patrykboch wants to merge 2 commits intoclauderic:masterfrom
patrykboch:bump-react-18-in-peer-deps

Conversation

@patrykboch
Copy link
Copy Markdown

Fixes #838

@codesandbox-ci
Copy link
Copy Markdown

codesandbox-ci bot commented Jun 2, 2022

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit f28d4ac:

Sandbox Source
react-sortable-hoc-starter Configuration

@patrykboch
Copy link
Copy Markdown
Author

@clauderic please review

…onentType`

* `React.SFC` type is no longer supported with React v. 18 (becomes `React.FC`)
* Since `React.ComponentClass` was specified the proper type now is `React.ComponentType` that covers both `React.FC` and `React.ComponentClass`
@patrykboch patrykboch changed the title Add react 18.1.0 to peer deps Support React v. 18 Jun 10, 2022
@chrishawn
Copy link
Copy Markdown

yes please review

@patrykboch
Copy link
Copy Markdown
Author

patrykboch commented Jun 15, 2022

@chrishawn I'm afraid it might never be introduced. The lib is considered deprecated and further enhancements won't be merged. Only security fixes. See @dnd/kit as an alternative.

Anyways migration to @dnd/kit is not obvious and it'd be perfect to have the support of React v18 here. The newest version of React does ensure backward compatibility.

I see that ReactDOM.findDOMnode, ReactDOM.render, etc. are in fact deprecated but it does not mean they neither work with the latest React nor the lib in question. So please, @clauderic consider this.

@alexander-schranz
Copy link
Copy Markdown

Would also like to see this merged. We can also not migrate away currently to another package. So would really like to see 18 official supported here.

@arneee
Copy link
Copy Markdown

arneee commented Jul 19, 2022

@clauderic : Please support that. We are using this package on so many pages so it will be a huge effort to migrate. Since the methods are still there (only deprecated), I really hope that this will be merged. Thanks!!!

@SergioArrighi
Copy link
Copy Markdown

Hello,
thanks for your work.
Any target date for this to be merged?
Best regards

@marwin1991
Copy link
Copy Markdown

@clauderic Is there any migration guide to dnd-kit?

@marco-adapttech
Copy link
Copy Markdown

Hello,

Any updates for when it will be released?

Thanks everyone for the work.

@Artexoid
Copy link
Copy Markdown

Artexoid commented Mar 1, 2023

Hi guys, merge it please.

@nicklasbekkevold
Copy link
Copy Markdown

Hello from 2026. Any updates on this one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Not supporting in react@18.0.0