7 ms·
The author should try React and Redux. I've used many different UI frameworks/libs over the years: jQuery, Backbone, Angular, etc I don't claim that React is t
by halis 10y ago
The author should try React and Redux. I've used many different UI frameworks/libs over the years: jQuery, Backbone, Angular, etc
I don't claim that React is the end all be all, it has a few trade-offs.
The first thing that isn't ideal is that it has a fair amount of boiler plate that's kind of unavoidable: reducers, actions, mapStateToProps, mapDispatchToProps
Also, the size of React and React-Dom (which is required) is quite large, although with minification and gzipping it's not as bad.
It also has a pretty big learning curve when you're first getting started.
On the plus side, it's very performant, concerns are separated well and it scales well. Once you're up and running and familiar with how things work, it's a pretty nice environment to develop in.
I've replaced lodash with ramda and that has been a pleasure.
Also, JSX is really nice. It's nice to use a full-blown markup language that's pretty much HTML, and to use JavaScript. That beats trying to fit every abstraction you need into a template engine.
I haven't done much experience with Elm, it seems nice, especially since I've started to program more functionally. I would consider using it on my next project.
- deleted 10y ago[deleted]
- jdd 10y agoIf you dig immutable, auto-curried, data-last methods there's also lodash/fp modules – https://github.com/lodash/lodash/wiki/FP-Guide https://github.com/lodash/lodash/wiki/FP-Guide