10 ms·
If you want to get started quickly then review the fact that you even require a SPA in the first place. Other than that, you can get started pretty damn fast w
by hackerboos 10y ago
If you want to get started quickly then review the fact that you even require a SPA in the first place.
Other than that, you can get started pretty damn fast with create-react-app.
https://github.com/facebookincubator/create-react-app https://github.com/facebookincubator/create-react-app
- breeny592 10y agoSomeone in the comments of the post suggested the same thing - people who criticise React (or any framework really) of "taking too long to set up" says one of two things to me: 1: they're too picky in what they want to use generators like this (or one of a billion Yeoman templates) - which then says don't complain something takes too long to set up when you're the one adding complexity 2: they count learning new methodologies/frameworks as part of the "setup" In the case of #2, what you know is always going to be quicker than what you don't. Complaining that "it takes too long" should be rephrased to mean "I don't have the time to learn something new"
- tempVariable 10y agoIs there an equivalent for this scaffolding app, but for server side PHP or Ruby ?
- headcanon 10y agoIf you're saying "server-side PHP/Ruby API + React SPA frontend", you'll probably be able to find some boilerplates on a github search, but essentially they're just two separate apps at that point, so you're better off just building them that way and maybe tying them together with `make`. If you want server rendered React you can only really do that with Node.js. However the specific architectures/implementations of these apps vary enough its better to make one yourself that suits your needs. create-react-app is designed to have very minimal, bare-bones defaults so you can build whatever opinions you want on top of it.