how do you do testing, just wondering..
Will Huang

Actually, testing becomes super easy, reliable and trivial when you code functionally. Since everything is encapsulated in streams of values rather than mutable state, and since all the dependencies are explicit — all you have to do to write tests is just pass your own observables to the views to test them (same for other components in your React app).

I can go on about referential transparency but it’s really not the interesting point here — the important part is that the fact everything is explicit — testing a view that depends on an observable is like testing a view that depends on a static array — pretty neat, huh ;)?

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.