-
Notifications
You must be signed in to change notification settings - Fork 100
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
Cannot set property 'parentContext' of undefined #75
Comments
Got it, I will try to fixed this problem as soon. |
When I tryed to reproduce this problem, I found that beforefunction App(props, context) {
_classCallCheck(this, App);
var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(App).call(this, props, context));
_this.state = {
count: 0
};
return _this;
} after function App(props, context) {
_classCallCheck(this, App);
var _this = _possibleConstructorReturn(this, (App.__proto__ || Object.getPrototypeOf(App)).call(this, props, context));
_this.state = {
count: 0
};
return _this;
} Upgrade |
I am using |
how to config .babelrc? my config below: |
I am getting this error with the following packages. When I use react instead of react-lite, everything works. What can I change for now to make it work?
The error I get is
|
i am getting this error too with latest 6.24.1 babel and it's dependencies such as @Dante-101 has |
According to #70, this error is caused by
react-lite
lacking support for ES6 class syntax.Can you please add support for that? Without it, it's impossible for most modern React codebases to take advantage of
react-lite
.The text was updated successfully, but these errors were encountered: