Skip to content
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

Support for the experimental syntax 'classPrivateMethods' isn't currently enabled #220

Open
dungle-scrubs opened this issue Sep 29, 2022 · 1 comment

Comments

@dungle-scrubs
Copy link

I'm attempting to use this library in a React CodeSandbox, but I get the error:

Support for the experimental syntax 'classPrivateMethods' isn't currently enabled.

I've tried adding @babel/plugin-proposal-private-methods to my .babelrc but the error remains.

Any suggestions?

@LeaVerou
Copy link
Member

Hi there,

I think this is a React CodeSandbox issue, could you try creating an issue here? https://github.com/codesandbox/codesandbox-client/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc

Class private methods aren't exactly cutting edge at this point…

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

No branches or pull requests

2 participants