News for hackers. Stuff that matters.
Re:Angular 2 – Best Practises by bigmanwalter on Monday June 27, 2016 @12:17PM (#11987160)
After having gone around the SPA framework circuit, I'm back to using jQuery, routing with PathJS, and templating with Jade (compiled using a Browserify transform). It's just so much simpler to understand. No magic, and I have yet to run into any problems. If I needed more complex model stuff, maybe I would throw in Backbone.

I know these tools don't keep your code organized, but it doesn't prevent you from organizing it either. And I really do hate all the levels of indirection the monolithic SPA frameworks seem to throw in your face.

PathJS: https://github.com/mtrpcic/pathjs

Jadeify: https://github.com/domenic/jadeify

Re:Angular 2 – Best Practises by yawn on Monday June 27, 2016 @01:38PM (#11987832)
I've done the same. In production, I've used jQuery, Dojo, and ExtJS. On side projects, I've used React, Clojurescript, and Angular 1. I don't like any of them. I'm back to using pjax.
Re:Angular 2 – Best Practises by bigmanwalter on Monday June 27, 2016 @01:47PM (#11987911)
pjax doesn't get enough love on HN :) Recently I got to use a pjax clone called smoothstate which splits up the pjax change event in just the right places to get fancy transitions going. Really enjoying it too!

Smoothstate: https://github.com/miguel-perez/smoothState.js

You can see how i used it at http://zviwaldman.com when you click any link.

Re:Angular 2 – Best Practises by JustSomeNobody on Monday June 27, 2016 @01:58PM (#11988001)
I'm eagerly awaiting a time when "the community" again allows this to be an acceptable alternative. Not that I wouldn't just go ahead and choose this.