Why I use Tape Instead of Mocha & So Should You
Eric Elliott
2.1K71

Bridging this with your posts and thoughts on stateless / classless React. If I have a stateless component, and it seems like it makes sense to have a helper function for the render, say a random number generator, is that ok? I’m not even sure how to test it since a stateless React ‘function’ component doesn’t have internal references to functions and vars inside its closure.

One clap, two clap, three clap, forty?

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