Functional programming and other weird tips for writing readable, testable and declarative code in JavaScript and specifically React.