lvarayut / relay-fullstack

:point_up::running: Modern Relay Starter Kit - Integrated with Relay, GraphQL, Express, ES6/ES7, JSX, Webpack, Babel, Material Design Lite, and PostCSS
https://lvarayut.github.io/relay-fullstack/
MIT License
986 stars 126 forks source link

Updates webpack@2.2.0 and fixes HMR support #63

Closed ncrmro closed 7 years ago

ncrmro commented 7 years ago

Here we go!

lvarayut commented 7 years ago

Thanks so much @ncrmro. Let me know if you would you like to be a core "Collaborator" to help maintaining and improving Relay Fullstack 😃

ncrmro commented 7 years ago

@lvarayut hehe I'd love too, thank you!

Been working on a project that uses relay-fullstack and uses django so I've actually been bringing stuff I've been working on over there here as well like jwt token support.

lvarayut commented 7 years ago

Just send an invitation to you 😄 Please feel free to add/update features as you feel right, make it as your own project 💯

Neitsch commented 7 years ago

I'm seeing the following error on canary since this commit

React Hot Loader: It appears that "react-hot-loader/patch" did not run immediately before the app started. Make sure that it runs before any other code. For example, if you use Webpack, you can add "react-hot-loader/patch" as the very first item to the "entry" array in its config. Alternatively, you can add require("react-hot-loader/patch") as the very first line in the application code, before any other imports.

Any ideas to fix?

ncrmro commented 7 years ago

@Neitsch Yep missed adding 'react-hot-loader/patch' to the webpack config. Apologies! Fix was made.