You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have read the [Contributing Guidelines][contributing] for this project.
I agree to follow the [Code of Conduct][code_of_conduct] that this project
adheres to.
I have searched the issue tracker for an issue that matches the one I want
to file, without success.
Description of the problem
When dependencies have a version as a tag (like next) we expect that everyone will resolve to the same version, but because we cache the result of resolving the absolute version for the tag, people have sometimes run in the issue that one browser resolves a different version than the other browser. We should probably remove that caching so that everyone will always resolve the same absolute version for a tag.
How has this issue affected you? What are you trying to accomplish?
I've heard reports where people were debugging for hours ("It works on my machine!"), and finally found out that they resolved different versions. That's very frustrating, so I'd say that we should fix this soon.
To Reproduce
Open a sandbox with react@next, find the request that resolves next to an absolute version
Make sure that we don't cache that, either by changing our service worker settings in webpack.prod.js, or by changing the server logic so that we send no-cache headers.
The text was updated successfully, but these errors were encountered:
I think we just ran into a similar issue when using the latest tag. The latest version of our package is 0.1.0 (at time of writing) but when using latest we appear to be receiving outdated type defs / package code. Pinning works as expected.
🐛 bug report
Preflight Checklist
adheres to.
to file, without success.
Description of the problem
When dependencies have a version as a tag (like
next
) we expect that everyone will resolve to the same version, but because we cache the result of resolving the absolute version for the tag, people have sometimes run in the issue that one browser resolves a different version than the other browser. We should probably remove that caching so that everyone will always resolve the same absolute version for a tag.How has this issue affected you? What are you trying to accomplish?
I've heard reports where people were debugging for hours ("It works on my machine!"), and finally found out that they resolved different versions. That's very frustrating, so I'd say that we should fix this soon.
To Reproduce
react@next
, find the request that resolvesnext
to an absolute versionwebpack.prod.js
, or by changing the server logic so that we sendno-cache
headers.The text was updated successfully, but these errors were encountered: