This is great! Thank you so much for this – and for the pull request.
If anyone would like to feedback on what they think should be gutted (or be done differently) and on what they would like to stay, or comment on how projects like this are useful/not useful to them it would be great to have feedback here or on Curran…
Thanks for sharing your thoughts! I’m going use this as a spring board to ‘go off on one’ because I have Hot Takes™.
My opinion on create-react-app is that it was a great starting point to get over the complexity of setting everything up in a new project, but I actually think it’s harmful to use in new projects.
This is an alternative to implementing your own back-end proxy API server, with say Express, right? So then what about in production using this method?
Yes and proxying with Express is a great approach — and much simpler for everyone who works on a project in the long run as it doesn’t require any special setup. A number of…
Thanks for this exellent write up Stéphane!
With the caveat that I haven’t tried it, it looks like you can successfully push to a fork if you run
git lfs fetchwith
--all which will trigger downloading of GitHub LFS objects into
$ git lfs fetch --all <remote>
Just to expand on this post, if you are looking for a good implementation reference for creating components (or if you are using Boostrap with React already) the Reactstrap libarary comes with a bunch of components that are designed along these lines.
For something that does this already, do checkout Next.js.
As well as taking care of babel and webpack, it handles server side rendering, code splitting, routing and dynamic routing automatically with zero config.
Unlike create-react-app it can be easily extended gracefully to add behaviour like…
This is a super handy guide as the process is a bit involved. For anyone not on a Mac, or proxying between some other app and remote service or if this just feels a bit involved, another option is to use a one-line reverse proxy.
I’m not anonymous and I’m not a millennial — I was born in the 70’s.
My info is next to every post so it seems you haven’t read the thread you are responding to before replying to it, but I think people reading it can see the response I got from David was unwarranted.
The post is public and I haven’t modified it.