We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
I was reading the Usage section of the README.md file and one line lack a comment :
Usage
README.md
if (!module.hot.data) {
I have no ideea what this line does. I checked the WebPack HMR API doc and found one occurence of this property (https://webpack-v3.jsx.app/api/hot-module-replacement/):
This object will be available at module.hot.data after the update.
But it doesn't explain what's its purpose and what checking its existence implies.
Adding a comment to this line may help futur reader.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
I was reading the
Usage
section of theREADME.md
file and one line lack a comment :if (!module.hot.data) {
I have no ideea what this line does. I checked the WebPack HMR API doc and found one occurence of this property (https://webpack-v3.jsx.app/api/hot-module-replacement/):
This object will be available at module.hot.data after the update.
But it doesn't explain what's its purpose and what checking its existence implies.
Adding a comment to this line may help futur reader.
The text was updated successfully, but these errors were encountered: