Update npm packages.
Update React.
Fix small code bugs / deprecations.
Add Flow typechecker.