Echo JS 0.11.0

<~>

xat comments

xat 2748 days ago. link 2 points
We usually namespace the constants like this:

export const FOO = '<namespace>/FOO';

Wouldn't want to type the namespace every time...
xat 2749 days ago. link 4 points
Not all of us are native english speakers.
xat 2749 days ago. link 3 points
You will get downvoted just because of the 'React killer' in the title.
xat 2749 days ago. link 2 points
Thanks for open sourcing your library. Mostly I write tree-helper functions on a project base, but would definitly be open to try this library next time.

Just skimmed through the code, here are some ideas/suggestions:

- You already have this on your TODO, but being able to use other property-names besides 'children', 'id' etc. would be cool. For example, often the term 'items' is used instead of 'children'.

- Often I need to have additional information about the node in the iterate function. For example, it could be quite useful to have access to the parentNode, the siblings or know the current depth.

- Since this is more like a small helper library, developers will look at the bundle size in order to decide if it's worth pulling this into a frontend project. You could reduce the size by not using lodash for example. I also don't think it's really necessary to have baked in currying, developers can add that, if they need it.
xat 2749 days ago. link 1 point
Thanks for this library!

One suggestion: Maybe you could state in the README that this library is more like an additional layer of protection. Because some developers may think that they don't need todo any additional checking of the input. But of course, even with this library installed, you shouldn't do stuff like `SELECT * FROM foo WHERE bar=${req.query.baz}`.
xat 2755 days ago. link 1 point
Give it some months more time and there will be nearly no new Angular 1.x articles anymore. So the problem will get solved by itself :)
xat 2759 days ago. link 1 point
Can't wait to use this :)

After I used redux in a couple of projects I realized that it was actually overkill for most of the stuff I was doing.

So in the last two projects I decided to move the state into a Higher order Component instead. That turned out to work very well, even for a medium sized project. The nice thing is that I now can probably pull in freactal easily in those projects. Guess the approach of freactal should also scale quite well.
xat 2769 days ago. link 5 points
The React community is lucky to have Dan :)
xat 2770 days ago. link 1 point
I agree with you that it may not make that much sense to use through2.

Generally I don't really mind pulling in small dependencies, even if they make stuff only a bit nicer. As long as the dependencies are easy replaceable and their code is understandable.
xat 2771 days ago. link 1 point
No Problem. sources.lifecycle sounds like a nice idea!

So the "Rx.Observable.interval(1000)" in the example gets called on componentWillMount at the moment, correct?
[more]