-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
feat(dev): HMR + Hot Data Revalidation #5259
Commits on Feb 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for df0d4a0 - Browse repository at this point
Copy the full SHA df0d4a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a9a5ff - Browse repository at this point
Copy the full SHA 6a9a5ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 44c1fbb - Browse repository at this point
Copy the full SHA 44c1fbbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c2b322 - Browse repository at this point
Copy the full SHA 2c2b322View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b31a3e - Browse repository at this point
Copy the full SHA 5b31a3eView commit details -
Updated to completely strip server methods from route modules instead…
… of relying on treeshaking. This allows us to easily detect browser vs server code changes and perform the relevant reload task.
Configuration menu - View commit details
-
Copy full SHA for fd5bd1d - Browse repository at this point
Copy the full SHA fd5bd1dView commit details -
- allow hot.accept("id", cb) - surface manifest through HMR as "remix:manifest" - start plumbing for router updates
Configuration menu - View commit details
-
Copy full SHA for cbccdcf - Browse repository at this point
Copy the full SHA cbccdcfView commit details -
- updated warning message
Configuration menu - View commit details
-
Copy full SHA for f3d4992 - Browse repository at this point
Copy the full SHA f3d4992View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29c20f3 - Browse repository at this point
Copy the full SHA 29c20f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0430bec - Browse repository at this point
Copy the full SHA 0430becView commit details -
Configuration menu - View commit details
-
Copy full SHA for 56df876 - Browse repository at this point
Copy the full SHA 56df876View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5cb03a4 - Browse repository at this point
Copy the full SHA 5cb03a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78ea28d - Browse repository at this point
Copy the full SHA 78ea28dView commit details -
Configuration menu - View commit details
-
Copy full SHA for faa371c - Browse repository at this point
Copy the full SHA faa371cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 22fc2c9 - Browse repository at this point
Copy the full SHA 22fc2c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for e01b9e5 - Browse repository at this point
Copy the full SHA e01b9e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf7ec3f - Browse repository at this point
Copy the full SHA cf7ec3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 628062b - Browse repository at this point
Copy the full SHA 628062bView commit details -
refactor: basing hmr updates off of assets manifest routes
punting on individual module hmr for mvp right now, we only do hmr updates at the route level based on manifest changes
Configuration menu - View commit details
-
Copy full SHA for de9e5cd - Browse repository at this point
Copy the full SHA de9e5cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for e9d81ff - Browse repository at this point
Copy the full SHA e9d81ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ba7b32 - Browse repository at this point
Copy the full SHA 8ba7b32View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d858bd - Browse repository at this point
Copy the full SHA 6d858bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 54b26e9 - Browse repository at this point
Copy the full SHA 54b26e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f1770b - Browse repository at this point
Copy the full SHA 6f1770bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 54b4476 - Browse repository at this point
Copy the full SHA 54b4476View commit details -
refactor(dev): update react-router api call for hmr
also add types for react refresh window globals
Configuration menu - View commit details
-
Copy full SHA for 1dc778a - Browse repository at this point
Copy the full SHA 1dc778aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f2cb05 - Browse repository at this point
Copy the full SHA 9f2cb05View commit details -
Configuration menu - View commit details
-
Copy full SHA for bf296b7 - Browse repository at this point
Copy the full SHA bf296b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5449aa0 - Browse repository at this point
Copy the full SHA 5449aa0View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5acb65 - Browse repository at this point
Copy the full SHA a5acb65View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0a7643 - Browse repository at this point
Copy the full SHA a0a7643View commit details -
Configuration menu - View commit details
-
Copy full SHA for ddeeeda - Browse repository at this point
Copy the full SHA ddeeedaView commit details
Commits on Feb 17, 2023
-
fix: chunk hmr runtime separately
so that we don't get multiple copies of `@remix-run/react` causing the `router` to be `undefined` after HMR updates
Configuration menu - View commit details
-
Copy full SHA for 5fdd600 - Browse repository at this point
Copy the full SHA 5fdd600View commit details -
wip: updated typescript so that transforms work in tests
remove this once we rewrite as babel transforms
Configuration menu - View commit details
-
Copy full SHA for c0d7483 - Browse repository at this point
Copy the full SHA c0d7483View commit details -
fix: hash hmr routes as part of assets manifest version
so that loader-only changes are detected and waited for
Configuration menu - View commit details
-
Copy full SHA for 421df1f - Browse repository at this point
Copy the full SHA 421df1fView commit details -
chore: update entry to more simply support refresh
chore: add back `<LiveReload>` component
Configuration menu - View commit details
-
Copy full SHA for 5bfef5d - Browse repository at this point
Copy the full SHA 5bfef5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d84e68f - Browse repository at this point
Copy the full SHA d84e68fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e926d17 - Browse repository at this point
Copy the full SHA e926d17View commit details -
fix: hmr caused subsequent navigations to fail
Navigations fixed by always using a global cache for modules instead of passing one around. This allows us to assign into it later on and have those surface in the refreshed component tree fix: always import updated modules regardless of if there is a callback The lack of this caused dependent modules to not surface in react-refresh as they don't have an accept callback, but still need to execute the module scope up-front for React to be happy here. test: added tests for navigation, shared modules, and updates before and after navigation
Configuration menu - View commit details
-
Copy full SHA for 35b4fec - Browse repository at this point
Copy the full SHA 35b4fecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 98f1062 - Browse repository at this point
Copy the full SHA 98f1062View commit details -
Configuration menu - View commit details
-
Copy full SHA for 98a44c0 - Browse repository at this point
Copy the full SHA 98a44c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 026b1c4 - Browse repository at this point
Copy the full SHA 026b1c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for a74aee4 - Browse repository at this point
Copy the full SHA a74aee4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 764731f - Browse repository at this point
Copy the full SHA 764731fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5974015 - Browse repository at this point
Copy the full SHA 5974015View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b87d03 - Browse repository at this point
Copy the full SHA 4b87d03View commit details -
fix(dev): only send hmr updates for files that changed
by having per-file timestamps that only change when file is written
Configuration menu - View commit details
-
Copy full SHA for d2b2d14 - Browse repository at this point
Copy the full SHA d2b2d14View commit details -
Configuration menu - View commit details
-
Copy full SHA for 69bc58f - Browse repository at this point
Copy the full SHA 69bc58fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b2bcad9 - Browse repository at this point
Copy the full SHA b2bcad9View commit details -
Configuration menu - View commit details
-
Copy full SHA for f3ede9e - Browse repository at this point
Copy the full SHA f3ede9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5cc7ea1 - Browse repository at this point
Copy the full SHA 5cc7ea1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c057a2 - Browse repository at this point
Copy the full SHA 8c057a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ce71c2 - Browse repository at this point
Copy the full SHA 1ce71c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for acd3894 - Browse repository at this point
Copy the full SHA acd3894View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1832413 - Browse repository at this point
Copy the full SHA 1832413View commit details -
Configuration menu - View commit details
-
Copy full SHA for 686a6e9 - Browse repository at this point
Copy the full SHA 686a6e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 24a9587 - Browse repository at this point
Copy the full SHA 24a9587View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ec995c - Browse repository at this point
Copy the full SHA 0ec995cView commit details
Commits on Feb 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for de5f190 - Browse repository at this point
Copy the full SHA de5f190View commit details -
Configuration menu - View commit details
-
Copy full SHA for 491726f - Browse repository at this point
Copy the full SHA 491726fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3366bc9 - Browse repository at this point
Copy the full SHA 3366bc9View commit details
Commits on Feb 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 939a30c - Browse repository at this point
Copy the full SHA 939a30cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 14e8110 - Browse repository at this point
Copy the full SHA 14e8110View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac53b8b - Browse repository at this point
Copy the full SHA ac53b8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f60539 - Browse repository at this point
Copy the full SHA 8f60539View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7068fae - Browse repository at this point
Copy the full SHA 7068faeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3121ea6 - Browse repository at this point
Copy the full SHA 3121ea6View commit details