Open lewismazzei opened 2 years ago
@lewismazzei thanks for your post - I just hit the same issue, and it's all starting to drive me a little nuts.
I haven't used patch-package before - can you briefly explain how you used it to fix this issue?
Many thanks
Actually - I just found a new split panel package that works nicely with React 18
It's also being actively maintained by the look of it:
Actually - I just found a new split panel package that works nicely with React 18
It's also being actively maintained by the look of it:
Oh brilliant! I'm going to use this instead too.
@lewismazzei thanks for your post - I just hit the same issue, and it's all starting to drive me a little nuts.
I haven't used patch-package before - can you briefly explain how you used it to fix this issue?
Many thanks
I used patch-package following the instructions found in the README:
# fix a bug in one of your dependencies
vim node_modules/some-package/brokenFile.js
# run patch-package to create a .patch file
npx patch-package some-package
# commit the patch file to share the fix with your team
git add patches/some-package+3.14.15.patch
git commit -m "fix brokenFile.js in some-package"
So in this case I just:
node_modules/react-split-pane/index.d.ts
to include the children prop as abovenpx patch-package react-split-pane --create-issue
*git add patches/react-split-pane+0.1.92.patch
git commit -m "fix index.d.ts in react-split-pane"
*Upon first running the patch-package
command it suggested I add the --create-issue
option to create this issue!
@lewismazzei thanks for walking through that, much appreciated. Cheers
https://www.npmjs.com/package/resizable-panes-react I found another, it is lighter
Hi! š
Firstly, thanks for your work on this project! š
Today I used patch-package to patch
react-split-pane@0.1.92
for the project I'm working on.I got the following error:
Here is the diff that solved my problem:
This issue body was partially generated by patch-package.