-
Notifications
You must be signed in to change notification settings - Fork 791
Closed
Description
Description
We have been using RHL with Recompose for a long time, but suddenly our production server cannot start (development is fine).
export default compose( hot(module), withSomeHOC, )(HotReloadedParent)
Upgrading past version 4.8.5
produces the following error when trying to run the code in production mode:
TypeError: b.apply is not a function at node_modules/recompose/dist/Recompose.cjs.js:810:18
Seemingly the signature of hot(module)
has changed in production mode after the above stated version?
Expected behavior
It should continue to work as before. Production should ABSOLUTELY NEVER be affected by RHL
Actual behavior
Production build/deployment fails because of code error
Environment
React Hot Loader version: 4.8.5
Metadata
Metadata
Assignees
Labels
No labels