Re:Why I’m throwing out React and going back to Angular 1.x
by kerryritter on Tuesday March 14, 2017 @05:49PM
(#13871780)
I am also a React fan but phrases like "I worked with React for a year and know well enough to get a brand new app up in less than a day" make me kind of sad. The cost just to get up and running with a JS framework these days is kind of painful. CLIs are doing a decent job resolving this, though.
[ Parent
| on HN ]
Re:Why I’m throwing out React and going back to Angular 1.x
by headcanon on Tuesday March 14, 2017 @05:56PM
(#13871837)
With create-react-app, it takes less than a few seconds, if you're fine with their defaults. If you need to mess with the webpack config it will take a bit longer but once you do it the first time its not a big deal. Putting everything together from scratch would take awhile, but that's the tradeoff of having a really flexible modular system.
Re:Why I’m throwing out React and going back to Angular 1.x
by tracker1 on Tuesday March 14, 2017 @07:42PM
(#13872575)
I usually count on a week to boilerplate a new application. I find that spending that time to do things in a more hand-crafted way is made up for my having a consistent implementation where the structure and code make sense. Glad to see more projects moving away from `./test, ./scripts, ./views, ./styles` structure.
Re:Why I’m throwing out React and going back to Angular 1.x
by headcanon on Wednesday March 15, 2017 @01:42PM
(#13878112)
that's fair - I built a react app for my company's website which is statically generated (a twist on server-rendering), and that took about a week to boilerplate. Next time I do it though it will take no time at all.
Re:Why I’m throwing out React and going back to Angular 1.x
by tracker1 on Friday March 17, 2017 @01:03PM
(#13895690)
True, as long as you're using the same versions of the tools... I find that even after a year, if I'm boilerplating something out, even if similar, it's still about a week. The tools change, and APIs between versions break. I had to deal with a react-router change between the last beta and the final 4.0.0 just yesterday (this.context.router.push vs this.context.router.history.push). I tend to mostly lock down my versioning on things to a large extent as a project matures... but even keeping up is more organic.
Starting something new in a year, or 18 months can be dramatically different than the previous start.
Re:Why I’m throwing out React and going back to Angular 1.x
by franzpeterfolz on Tuesday March 14, 2017 @06:14PM
(#13871970)
Well, some minutes with npm. With yarn, it might take a few seconds.