News for hackers. Stuff that matters.
Re:JavaScript for People Who Hate JavaScript by lopatin on Wednesday August 09, 2017 @09:05AM (#14968297)
Agreed, I stopped recommending React to beginners. I still love it and think it's the future, but in the sense that it's the new low-level. Eventually I think it will be standard to compile futuristic, high level, built-for-apps languages into React code. But for now, makes sense to just use a batteries-included framework. I don't know what the most sure shot is there though. Ember? Vue?
Re:JavaScript for People Who Hate JavaScript by aaron-lebo on Wednesday August 09, 2017 @09:17AM (#14968396)
Mithril. Much simpler than anything else and batteries included. It's a great way to get beginners into front-end frameworks and gain knowledge that transfers easily.
Re:JavaScript for People Who Hate JavaScript by brlewis on Wednesday August 09, 2017 @09:27AM (#14968504)
Indeed. I use it to introduce beginners to modern front-end frameworks here: https://medium.com/front-end-hacking/how-it-feels-to-learn-j...
Re:JavaScript for People Who Hate JavaScript by lopatin on Wednesday August 09, 2017 @09:34AM (#14968568)
Mithril is nice. W.r.t. going for batteries included, it's still a bit minimal for my taste. Personally I would lean towards something more dogmatic, in the spirit of Rails. For example, things that I would miss from Ember: ember-data, models (with relations), controllers, opinions, integrated tooling, etc ... But Mithril looks cool I've been meaning to play with it too. You're right that skills gained from learning Mithril will be more widely applicable to general front-end dev than Ember.
Re:JavaScript for People Who Hate JavaScript by alttab on Wednesday August 09, 2017 @06:14PM (#14974229)
How about rails?
Re:JavaScript for People Who Hate JavaScript by lopatin on Wednesday August 09, 2017 @10:11PM (#14975742)
Rails is great, but where it really shines is server side apps, content sites, blogs, CMSs, etc .. If you know you're building purely a SPA, Rails isn't really the right tool for that.
Re:JavaScript for People Who Hate JavaScript by alttab on Friday August 11, 2017 @03:00PM (#14993090)
I'd argue that more than half pure SPAs do not need to be SPAs, and can be written effectively in Rails with someone who knows it well, in less time, with less bugs, and more test coverage.