June 2015

78 bookmarks saved in June 2015

The Death Of Expertise

http://thefederalist.com/2014/01/17/the-death-of-expertise
I am (or at least think I am) an expert. Not on everything, but in a particular area of human knowledge, specifically social science and public policy. When I say something on those subjects, I expect that my opinion holds more weight than that of most other people. via Pocket

Building With Node.js At The New York Times

https://www.talentbuddy.co/blog/building-with-node-js-at-the-new-york-times
Felipe is the development manager of NYT's video team, responsible for maintaining Times Video and the Video API, both written in NodeJS. My first contact with programming was via Macromedia Flash, circa 2000, when the first major version of ActionScript was developed. via Pocket

Unit testing React components without a DOM – simonsmith.io – Portfolio and blog of a London based front-end web developer

http://simonsmith.io/unit-testing-react-components-without-a-dom/?imm_mid=0d3af7&cmp=em-web-na-na-newsltr_20150617
the idea of shallow rendering is to instantiate a component and get the result of its render method, which is a ReactElement. From here you can do things like check its props and children and verify it works as expected.

Unit testing React components without a DOM – simonsmith.io – Portfolio and blog of a London based front-end web developer

http://simonsmith.io/unit-testing-react-components-without-a-dom?cmp=em-web-na-na-newsltr_20150617&imm_mid=0d3af7
the idea of shallow rendering is to instantiate a component and get the result of its render method, which is a ReactElement. From here you can do things like check its props and children and verify it works as expected.