Upgrades react and uses minified version in release mode