react-redux-universal-hot-example icon indicating copy to clipboard operation
react-redux-universal-hot-example copied to clipboard

Support webpack 2.x version

Open Ilyaololo opened this issue 8 years ago • 7 comments

Will the added support of the webpack version 2.x?

Ilyaololo avatar Feb 23 '17 13:02 Ilyaololo

@Ilyaololo This repository is not actively maintained.

isaachinman avatar Feb 26 '17 11:02 isaachinman

@isaachinman i know you're not the owner but do you happen to know of a more modern boilerplate or know why it's not actively maintained? I still build with some spin-off of this so kinda just curious if I'm falling behind on tech. Thanks regardless, take it easy.

stevenaldinger avatar Feb 26 '17 18:02 stevenaldinger

This is what I was looking for, hope it helps someone moving forward. Did not check if they upgraded webpack but I'd guess yes based on a quick glance.

https://github.com/erikras/react-redux-universal-hot-example/pull/1200

stevenaldinger avatar Feb 26 '17 18:02 stevenaldinger

@stevenaldinger Basically, even though this project hasn't been actively maintained in a while, it's still not far from the bleeding edge. If you used this boilerplate as a jumping-off point and truly understand all the tech involved here, I wouldn't be worried about falling behind at all.

Obviously there are dep updates to be had, some of them breaking (like webpack 2, eg), and I think implementing a project like this at any scale more than something trivial is pretty useless without codesplitting. But the underlying ideology has remained more or less the same. I would look towards React 16 (beta just released), and some hypothetical future implementation of renderToStream.

Let me know if you have any other questions or suggestions yourself - weirdly this repo has become almost a community forum on best practices and exciting new tech.

Edit: That PR you linked looks more or less like a very opinionated update - which is how I think most people have used this repo, as a "jumping-off" point.

isaachinman avatar Feb 26 '17 18:02 isaachinman

That makes me feel better, thanks hahah. I drifted off into kubernetes land for about 8 months and the js community moves forward quicker than anything I've witnessed before, I was ready for a slap in the face. Community forum is ultimately what I would've hoped for, I think I just need to spend some time looking through the records. I lean more towards devops and iframe half my personal GUI from services like kibana tbh. If you need help spinning up a Google Cloud cluster with auto ssl certs (letsencrypt) / load balanced containerized api/gui servers and stuff with this definitely hmu though. I'm going to clone that updated version and probably post a tutorial at some point but I focus more when someone's waiting on it lol. Hopefully react 16 stabilizes context... will catch up on that tonight. Thanks again for the quick response, see you around.

stevenaldinger avatar Feb 26 '17 18:02 stevenaldinger

@stevenaldinger On a tangent I'd be interested if you post a tutorial. Coincidentally I'm doing almost exactly what you've listed (minus Kibana so far). Right now on the final steps of getting my app based off of this boilerplate working on Kubernetes (hosted by gcloud and eventually using letsencrypt), but the client server is producing a very generic error of not finding a module (even though it's clearly there), which I have found in the past to be what bubbles up as the error when something else breaks.

The app works fine when I have all my dbs and services exposed on Minikube except for this client server, and even works on a Docker Compose upped environment. But something when hosted by Kubernetes is breaking it. And it sucks I can't exec into the container because the error causes a sigterm that kills it. I'm going to see if it's because of some securityContext privileges right now.

gsccheng avatar Mar 17 '17 23:03 gsccheng

I have updated version: https://github.com/wearepush/redux-starter

Iuriy-Budnikov avatar May 02 '17 10:05 Iuriy-Budnikov