News for hackers. Stuff that matters.
Re:Ask HN: How to approach Front-End development if you hate... by artpar on Monday October 02, 2017 @11:01PM (#15389796)
Here is what I do:

- Make sure you know what you want to make

For smaller pages (one page sites, not SPA):

- Use one of bootstrap/semanticui, include their dist files directly (dont get into the npm/gulp/bower yet)

- Use their kitchen sink to pick up components (both bootstap/semanticui have loads of examples)

- Include JS dependencies the old way (copy the min.js manually in your project), keep try to keep this number low

- Try to avoid using frontend frameworks for these (say vue/angular/react)

For slightly larger sites (SPAs/Multiple page sites)

- Choose one particular frontend framework and stick to it (the productivity gain does not come from using a tool, it comes from using a tool repeatedly)

- Get the closest looking template from somewhere in above chosen tech (i usually pick one from https://themeforest.net/ but there are many free resources, like AdminLTE etc)

- Make sure it already has the build/minify pipeline setup (most of them have it)

- Adapt it to your needs

Re:Ask HN: How to approach Front-End development if you hate... by marktangotango on Tuesday October 03, 2017 @10:43AM (#15392722)
I agree with this, although I'd add that building an SPA with bootstrap (or whatever widgets) with no framework can also be a valuable learning experience. You'll most likely end up with a ball of mud, but it's a great way to experience the problems that a framework like angular or ember are solving for you.
Re:Ask HN: How to approach Front-End development if you hate... by jszersze on Tuesday October 03, 2017 @11:39AM (#15393131)
I also agree with that. Frameworks provide you with structure, once you spend some time getting used to it you will not have to think about building basic things anymore.