-
Notifications
You must be signed in to change notification settings - Fork 36
fix(package.json): fixes issues people were having with react 17 and react-sortable-tree #80
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
base: master
Are you sure you want to change the base?
fix(package.json): fixes issues people were having with react 17 and react-sortable-tree #80
Conversation
@wuweiweiwu @fritz-c could you take a look at this PR please? |
@wuweiweiwu would it be possible to make a new release with this PR merged? this is currently breaking on all projects using the latest react version |
Any updates on this? We are blocked as well in our project. |
We have tested it using |
hey, is there any hope the PR will be merged this month? reeeeally need this fix :) |
@wuweiweiwu @fritz-c any progress on reviewing this pr? |
Total newbie here. Could anyone give me simple directions on how to apply patches and use this repo as module in React? |
|
@benatshippabo thanks for the answer. Should I do that with version from npm or with the github version? The npm version seem to be different from this version. I tried to patch the npm version but then I was getting compilation errors:
Is it normal behavior after patching and I should change babel configuration? |
@dottoreFell Definitely not normal behavior 🤔 , probably just install and list the babel plugin |
Sorry, but I am not sure how to understand it. Should I install https://www.npmjs.com/package/babel-plugin ? It seems that I know too little about packages and wasting Your time. It's not likely, but maybe some day one of the maintainers will have time and mercy and will just merge this patch :D |
@wuweiweiwu @fritz-c if everything looks good, could you please merge this? |
waiting for this 🙏 |
Please merge |
@wuweiweiwu @fritz-c Hi, all necessary work was done in this PR. Could You please merge it? There are many people waiting for that 🙂 |
Please merge :-) |
Interesting, I have tested a lot, removing node_modules, yarn.lock and package-lock.json several times... When I install with npm, using React 17, I get that react-sortable-tree requires React 16. I f I use If I use Note that I'm using |
@wuweiweiwu @fritz-c please merge when possible, waiting for these fixes as well! 😀 |
Adding my bit - please merge :) |
Why nobody merge? |
Could anyone please merge this? Thank you! It appears that there are no conflicts with the base branch either, it just needs anyone with write access to this repo. Thanks again! |
The project is dead. |
Issues
Many people are having issues with
react-sortable-tree
after upgrading to React 17. It looks like the cause is usingfindDOMNode
and mismatched React versions due to a peer dependency issue. This PR should resolve the issues.facebook/react#20131 (comment)
frontend-collective/react-sortable-tree#821
frontend-collective/react-sortable-tree#450
frontend-collective/react-sortable-tree#281 (comment)
#70
Test steps
yarn
yarn build
react-sortable-tree
repoyarn add file:$PATH_TO_THIS_REPO/lib
package.json
so storybook will use React 17yarn storybook