-
-
Notifications
You must be signed in to change notification settings - Fork 142
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
Compile Error with Create React App with React 17 #67
Comments
The operator causing the error you're reporting is the nullish coalescing operator ( return state[key] ?? null; Guessing create-react-app isn't configured to handle that. I don't know what the easiest fix is. I'm not a create-react-app user anymore. |
Hi, @bvaughn thanks for the response it was very helpful. I was able to resolve the issue with the help of this: |
Glad to hear it! |
FYI, I removed the nullish coalescing operator in v0.0.31 because the trivial benefit it provided didn't seem worth causing headaches for create-react-app users. |
Alright, thanks for the update. |
By the way, if you update to 0.0.35– this module should now work with CRA without any additional configuration changes. |
Thanks for the update @bvaughn |
By the way, if you update to 0.0.35– this module should now work with CRA without any additional configuration changes. https://github.com/bvaughn/react-resizable-panels/releases/tag/v0.0.35 Thanks for the update @bvaughn |
1 similar comment
By the way, if you update to 0.0.35– this module should now work with CRA without any additional configuration changes. https://github.com/bvaughn/react-resizable-panels/releases/tag/v0.0.35 Thanks for the update @bvaughn |
Hello 👋🏽,
I'm getting a compile error when I try to use the
react-resizable-panels
components in my project:I have the following setup in my
package.json
:"react": "17.0.0", "react-dom": "17.0.0", "react-scripts": "4.0.3",
I'll appreciate any pointers to resolve this, thank you!
The text was updated successfully, but these errors were encountered: