Echo JS 0.11.0

<~>

gcanti comments

gcanti 3032 days ago. link 1 point
So, for example when you know that statistically SCU most often returns false, thanks for the link.
gcanti 3034 days ago. link 1 point
> in many cases

Could you please show / link to some examples?
gcanti 3213 days ago. link 1 point
What you say shows how the concept of immutability is natural for people.
gcanti 3320 days ago. link 1 point
> a concept that Eric refers to as idempotency, also known as referential transparency

AFAIK idempotency and referential transparency are two different things
[comment deleted]
gcanti 3594 days ago. link 1 point
What a great article! I'll be sharing this
gcanti 3632 days ago. link 2 points
I love React but it's good to read critics and suggestions. Besides, its work is MIT Licensed so I applaud his effort.
"React sucks"...well I'd not use these words though, seems unnecessarily rude.
gcanti 3657 days ago. link 1 point
Hello, I wrote this handy little library for testing purposes: you can extract the vdom from a React
component and test it against a JSON with simple tools like assert.deepEqual() and without a real DOM.
The extracted vdom has the following type definition:

    type Node = {
      tag: string,
      attrs: object<name, value>,
      children: undefined | null | Node | Array<Node>
    }

If your component handle a private state, you can inject a state to test different configurations.

This is an example of massive use in a form generation library:

https://github.com/gcanti/tcomb-form/blob/master/test/test.js

Hope it can help you too.
gcanti 3675 days ago. link 1 point
Main new features:

- function types
- built-in immutable updates
[more]