Good JavaScript front end libraries?

3 points by mercurial ↗ HN
I'm interested in finding a way of organizing our frontend code. Right now, it's a C# backend with a jQuery plus view/presenter pattern frontend, and the complexity has sufficiently grown that it's not the way forward.

I'm looking for something to replace our frontend, with one-way data flow (so no Angular/Ember).

Things I'm looking at right now:

- React + Redux: seems to have a lot of traction, an existing ecosystem, and a relatively small surface. Not to impressed over the fact that it looks like very watered-down FRP

- Cycle: looks interesting but seems to have very little mindshare comparatively. Don't know how it behaves without Node

3 comments

[ 2.9 ms ] story [ 16.9 ms ] thread
React + Reflux + Immutable

- React, for obvious reasons.

- Reflux, a simplified Flux architecture.

- Immutable, eliminates the temptation of mutation.

- Write in ES6+, take advantage of the new shorthand syntax and features.

And plan your architecture and convention in advance. You don't want to be discussing tabs vs spaces, 4-char vs 2-char indents, naming components, generic vs specific components, tooling and deployment strategies that midway of development.

take a look at Ractive.js . It is minimal, you can write custom js code as you like for getting data from the server and you don't need to spend weeks learning it.