3 ms·
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 transfo
by bigmanwalter 10y ago
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 https://github.com/mtrpcic/pathjs
Jadeify: https://github.com/domenic/jadeify https://github.com/domenic/jadeify
- yawn 10y agoI'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.
- bigmanwalter 10y agopjax 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 https://github.com/miguel-perez/smoothState.js You can see how i used it at http://zviwaldman.com http://zviwaldman.com when you click any link.
- JustSomeNobody 10y agoI'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.