-
Notifications
You must be signed in to change notification settings - Fork 792
Open
Description
Description
Hot reloading fails for files using lodash/memoize
in 4.2.0
Removing all calls to the memoize
function fixes the issue for that file.
It doesn’t make sense that this problem has anything to do with the memoize
function itself but it happens to be the problematic function in this case.
It was only being used at the top level of the file.
Expected behavior
Should hot reload the file.
Actual behavior
Hits an error: reconcilation failed due to error ReferenceError: resolver is not defined
resolver
is the second argument passed to memoize
Environment
React Hot Loader version: 4.2.0
Run these commands in the project folder and fill in their results:
node -v
:9.5.0
npm -v
:5.6.0
yarn -v
:1.6.0
Then, specify:
- Operating system:
MacOS 10.13.4
- Browser and version:
Chrome 66.0.3359.170
Reproducible Demo
N/A
lynxtaa
Metadata
Metadata
Assignees
Labels
No labels