Open swennemans opened 8 years ago
Yes, I just bumped into that. There is some issue with React itself and I reported it to @eXon
For now, please do
import { Component } from "react"
instead of import React from "react"
I will update the project as soon as possible.
I've ported my existing Mantra project to Webpack, and made some changes. And everything works as expected. From what I can see the only thing I do differently is importing React
from NPM, defined in webpack.packages.json
Hope it helps.
Can you maybe do a PR, or you did not use boilerplate at all?
Sorry I didn't use the boilerplate at all.
I try to run the example, but it doesn't start. The error is:
Any ideas? It seems that React is imported.