Open alexhawkins opened 8 years ago
It seems the babelRelayPlugin isn't compatible with babel 6.6.x currently. Switch to babel 6.5.2 may make it work.
npm install babel-core@6.5.2
npm start
Well, interest driven. I'm willing to program and share. As you can see, I'm not good at english. When learning RGR I was puzzled about mutation and fragment. It takes me several days to find out the answer. So I hope this sample could be help for someone who is also learning RGP.
Sorry to confuse you about the async. It could be use in the case such as fetching data by invoke restful api. But it's useless in this sample. I would appreciate if you make a pull request :)
Found a fix with the latest versions of babel, resolved my problem;
plugins: ['./js/babelRelayPlugin'].map(require.resolve)
https://github.com/webpack/webpack/issues/1866
Thanks for posting your work, it gave me some ideas, but now I have to re-write stuff so maybe I should not 'Thank you'.
Have a good one
@BigBuckBunny Thanks, that works!
Awesome demo but I'm unable to get it running
@daisy-github Could you please try it again? I updated some codes just now.
Awesome demo but I'm unable to get it running locally. I get the error below. Any insights?