-
Notifications
You must be signed in to change notification settings - Fork 926
ES6 class component declaration #110
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
Comments
This is because ReactJS.NET isn't using the latest version of React. I'll Sent from my mobile.
|
Thanks for the quick response @Daniel15 I will keep an eye on it |
The upgrade will be covered by #93. Closing this out. |
Just tested after upgrading React to 0.13.1 and it works now. If you want to use it before I release a new version, you can get a ReactJS.NET build off the build server shortly, or just build it yourself. Instructions are on the site. Thanks for reporting! |
Thanks for the update @Daniel15 |
Have you any idea when you will upgrade nuget package too? |
New release will be some time in the next few days, I just need to do more Sent from my mobile.
|
I'm just pushing the updated NuGet packages now, they should be up in a few minutes. |
Thank you so much for the update. It's right on time. I want to incorporate the webpack with ES6 style syntax for our project. |
According to documentation we can use the ES6 class syntax to declare components. I tried to do so but I am getting an error when the page is rendered server side.
My simple component looks like this
But I am getting the error below:
I have enabled the corresponding setting in react configuration (UseHarmony)
Is it possible to use this syntax today or am I missing something? I could create a small demo application to demonstrate this.
The text was updated successfully, but these errors were encountered: