The Right Way to Test React Components

October 3, 2018

Stephen Scott There’s a lot of confusion right now about the “right” way to test your React components. Should you write all your tests by hand, or only use snapshots, or some of both? Should you test props? State? Styles/Layout? I don’t think there’s one “right” way, but I’ve found a few patterns and tips […]

Continue Reading....

Uploading files with React.js and Node.js

September 29, 2018

Alex Bachuk Github repo: https://github.com/abachuk/uploading-files-react-node Uploading files is one of the most common tasks performed by web developers. It’s a pretty simple operation when using PHP or other server side frameworks. However, it is not so straightforward when using Node.js, unless you understand how to user Buffer API for reading streams of binary files (i.e. uploading file content […]

Continue Reading....

The Identity Trap: How to Be Less Wrong

August 29, 2018

Doctor Manhattan. Ozymandias. Silk Spectre. The Comedian. Rorschach. You may recognize them as names of characters in the famous comic book series Watchmen, but they’re more than that. They’re representations of different moral systems — or more broadly, identity systems — that people use to understand the world around them. Each character sees reality a […]

Continue Reading....