-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
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
make HMR re-execute modules that self invalidate #5161
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
8 Ignored Deployments
|
✅ This change can build |
|
Linux Benchmark for bd7e186Click to view benchmark
|
a2a77d9
to
33cf929
Compare
@@ -15,7 +15,7 @@ | |||
|
|||
// This file must not use `import` and `export` statements. Otherwise, it | |||
// becomes impossible to augment interfaces declared in `<reference>`d files | |||
// (e.g. `Module`). Hence the need for `import()` here. | |||
// (e.g. `Module`). Hence, the need for `import()` here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
my IDE made a bunch of grammar suggestions 🙃
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TIL!
Linux Benchmark for c872103Click to view benchmark
|
@@ -15,7 +15,7 @@ | |||
|
|||
// This file must not use `import` and `export` statements. Otherwise, it | |||
// becomes impossible to augment interfaces declared in `<reference>`d files | |||
// (e.g. `Module`). Hence the need for `import()` here. | |||
// (e.g. `Module`). Hence, the need for `import()` here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TIL!
* Removes a module from a chunk. Returns true there are no remaining chunks | ||
* including this module. | ||
* Removes a module from a chunk. | ||
* Returns `true` if there are no remaining chunks, including this module. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This no longer means the same thing. It should be:
Returns `true` if there are no remaining chunks including this module.
(the chunks include a module)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you are right, will fix in my next PR
### Turbopack Updates * vercel/turborepo#5156 * vercel/turborepo#5159 * vercel/turborepo#5162 * vercel/turborepo#5161 * vercel/turborepo#5174 * vercel/turborepo#5178 * vercel/turborepo#5121 * vercel/turborepo#5200 * vercel/turborepo#5207 * vercel/turborepo#5211 * vercel/turborepo#5210 * vercel/turborepo#5221 * vercel/turborepo#5218 * vercel/turborepo#5226 * vercel/turborepo#5139 * vercel/turborepo#5227 * vercel/turborepo#5189
### Turbopack Updates * vercel/turborepo#5156 * vercel/turborepo#5159 * vercel/turborepo#5162 * vercel/turborepo#5161 * vercel/turborepo#5174 * vercel/turborepo#5178 * vercel/turborepo#5121 * vercel/turborepo#5200 * vercel/turborepo#5207 * vercel/turborepo#5211 * vercel/turborepo#5210 * vercel/turborepo#5221 * vercel/turborepo#5218 * vercel/turborepo#5226 * vercel/turborepo#5139 * vercel/turborepo#5227 * vercel/turborepo#5189
### Description This can happen when a module that previously exported a React component no longer does, the next react refresh integration will then call `module.hot.invalidate()` fixes the `acceptance/ReactRefreshRequire.test.ts` next.js integration test
### Description This can happen when a module that previously exported a React component no longer does, the next react refresh integration will then call `module.hot.invalidate()` fixes the `acceptance/ReactRefreshRequire.test.ts` next.js integration test
### Description This can happen when a module that previously exported a React component no longer does, the next react refresh integration will then call `module.hot.invalidate()` fixes the `acceptance/ReactRefreshRequire.test.ts` next.js integration test
Description
This can happen when a module that previously exported a React component no longer does, the next react refresh integration will then call
module.hot.invalidate()
fixes the
acceptance/ReactRefreshRequire.test.ts
next.js integration test