Created by: sheepsteak
This doesn't require any extra plugins or setup and will work for function components too unlike #110 (I think react-hot-loader@3
fixes this?). Also, this is easy to remove with a codemod as desired in #111 (closed) as the whole if
statement can just be removed.