Commit Graph

5 Commits

Author SHA1 Message Date
Dan Abramov d271df5c99
Use function expression for custom Hook signature argument (#15956) 2019-06-22 11:54:22 +01:00
Dan Abramov 7a4c3e3b73
Make global names more obscure (#15941) 2019-06-20 20:20:09 +01:00
Dan Abramov 3d0af2aea8
Don't consider require-like calls to be likely HOCs (#15940) 2019-06-20 16:13:18 +01:00
Dan Abramov d4f384d25b
[Fresh] Throw in prod and change annotation (#15939)
* Disable React Refresh Babel transform in prod

* Throw early if React Refresh runtime is imported in production

* @hot reset -> @refresh reset
2019-06-20 14:29:00 +01:00
Dan Abramov f0156766dc
[Fresh] react-fresh => react-refresh (#15888) 2019-06-15 19:36:46 +01:00