-
Notifications
You must be signed in to change notification settings - Fork 975
Use new react context! #624
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Also I moved the createContext call underneath all the import statements
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 c5c1ce6:
|
Nice, thanks for taking this. I just don’t have bandwidth for it. Would love to see this library concurrent compatible, it’s the only thing holding us up at the moment! |
If this isn't done in the constructor, the manager value is initially undefined on first mount when trying to call this.context.manager.add in the register() method of SortableElement
@clauderic Can you please return to reviewing this? React Concurrent mode is getting closer every day =) |
Hi, any update on this PR? |
@clauderic Hi, how does it look like with the review? :) |
Is it possible to get this merged, if this will at least temporarily fix the |
[`react-sortable-hoc`](https://github.com/clauderic/react-sortable-hoc) is incompatible with future React versions, and its maintainers show no reaction to PR fixing this: clauderic/react-sortable-hoc#624 [`react-measure`](https://github.com/tajo/react-movable) is an accessible, low-sized, and well-maintained alternative
Can anyone merge this, please? My console is full of "Legacy context API has been detected within a strict-mode tree" warnings. |
Hello, I'm getting a ton of the legacy API warnings. Are there any plans to merge this to fix them? Thanks! |
Hi @clauderic when will this PR be merged or will it not be merged? |
[`react-sortable-hoc`](https://github.com/clauderic/react-sortable-hoc) is incompatible with future React versions, and its maintainers show no reaction to PR fixing this: clauderic/react-sortable-hoc#624 [`react-measure`](https://github.com/tajo/react-movable) is an accessible, low-sized, and well-maintained alternative
[`react-sortable-hoc`](https://github.com/clauderic/react-sortable-hoc) is incompatible with future React versions, and its maintainers show no reaction to PR fixing this: clauderic/react-sortable-hoc#624 [`react-measure`](https://github.com/tajo/react-movable) is an accessible, low-sized, and well-maintained alternative
[`react-sortable-hoc`](https://github.com/clauderic/react-sortable-hoc) is incompatible with future React versions, and its maintainers show no reaction to PR fixing this: clauderic/react-sortable-hoc#624 [`react-measure`](https://github.com/tajo/react-movable) is an accessible, low-sized, and well-maintained alternative
[`react-sortable-hoc`](https://github.com/clauderic/react-sortable-hoc) is incompatible with future React versions, and its maintainers show no reaction to PR fixing this: clauderic/react-sortable-hoc#624 [`react-measure`](https://github.com/tajo/react-movable) is an accessible, low-sized, and well-maintained alternative
[`react-sortable-hoc`](https://github.com/clauderic/react-sortable-hoc) is incompatible with future React versions, and its maintainers show no reaction to PR fixing this: clauderic/react-sortable-hoc#624 [`react-measure`](https://github.com/tajo/react-movable) is an accessible, low-sized, and well-maintained alternative
[`react-sortable-hoc`](https://github.com/clauderic/react-sortable-hoc) is incompatible with future React versions, and its maintainers show no reaction to PR fixing this: clauderic/react-sortable-hoc#624 [`react-measure`](https://github.com/tajo/react-movable) is an accessible, low-sized, and well-maintained alternative
[`react-sortable-hoc`](https://github.com/clauderic/react-sortable-hoc) is incompatible with future React versions, and its maintainers show no reaction to PR fixing this: clauderic/react-sortable-hoc#624 [`react-measure`](https://github.com/tajo/react-movable) is an accessible, low-sized, and well-maintained alternative
[`react-sortable-hoc`](https://github.com/clauderic/react-sortable-hoc) is incompatible with future React versions, and its maintainers show no reaction to PR fixing this: clauderic/react-sortable-hoc#624 [`react-measure`](https://github.com/tajo/react-movable) is an accessible, low-sized, and well-maintained alternative
Continued the work of @natew
Also I moved the createContext call underneath all the import statements because my vscode was complaining about that.