gaearon / gaearon/react-hot-loader

autobinding lifecycle method

Open
#1,194 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12.2k
Forks
775
PR merge metrics
No merged PRs in 30d

Description

### Description
when component has
`componentDidMount = () => {}`
instead of
`componentDidMount(){}`

Hot loader identifies files to update and patch, but never rerenders.

### Expected behavior

Should rerender, or WARN/LOG/ERROR. At the moment fails silently to reload the app.
At minimum big bold warning in docs....

"react-hot-loader": "4.7.1",
"react": "16.8.1",

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.