gaearon / gaearon/react-hot-loader

"type" property added to hot loaded element

Open
#1,123 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

It appears that the React-Hot-Loader (v4.4.0) adds a _type_ property to objects that it proxies.

Is there any way this name can be customised or disabled for some imports, as some of my team have assumed objects provided by the hot loader won't have additional keys?

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.