Hacker News new | ask | show | jobs
by fiatjaf 3210 days ago
MobX is horribly opinionated, a monstruous abstraction of spaghetti, and you're saying Promises limit it?
1 comments

MobX is the most powerful front end development library on the market right now. It single-handedly solves the cache invalidation problem in a performant way, and its pluggable into any framework.

And yes, promises limit it.

How does one measure power? What market?
By actually using the thing being criticised instead of giving it the middlebrow dismissal.

The "market" of application state management libraries.

Frankly, S.js looks better. Simple and performant.
Slightly confusing api, no structural comparison, no adapters for popular frameworks (e.g. S.js-react or S.js-preact), no laziness (computations are recomputed even if they're not requested by reactions).
Why use react when you can use Surplus which is based on S.js? Surplus is the fastest among all of the JS frameworks and supports JSX.

"Slightly confusing" == I'm not familiar with it. Not really an objection.

"No structural comparison": don't know what this is supposed to mean.

Re: laziness, actually redundant recomputations are not performed. Not sure where you go that impression.