Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.11.2
->2.12.0
2.11.2
->2.12.0
2.11.2
->2.12.0
Release Notes
remix-run/remix (@remix-run/dev)
v2.12.0
Compare Source
Minor Changes
future.unstable_optimizeDeps
flag for automatic dependency optimization (#9921)future.unstable_optimizeDeps
future flagGuides
>Dependency optimization
optimizeDeps.entries
nor do you need to disable theremix-dot-server
pluginPatch Changes
dest already exists
build errors by only moving SSR assets to the client build directory when they're not already present on disk (#9901)@remix-run/[email protected]
@remix-run/[email protected]
remix-run/remix (@remix-run/react)
v2.12.0
Compare Source
Patch Changes
Lazy Route Discovery: Sort
/__manifest
query parameters for better caching (#9888)Single Fetch: fix revalidation behavior bugs (#9938)
GET /a/b/c.data
shouldRevalidate
, it will be excluded from the single fetch callclientLoader
then it will be excluded from the single fetch call and if you callserverLoader()
from yourclientLoader
, that will make a separarte HTTP call for just that route loader - i.e.,GET /a/b/c.data?_routes=routes/a
for aclientLoader
inroutes/a.tsx
root
route androutes/b
had aloader
butroutes/c
did not, the single fetch request would beGET /a/b/c.data?_routes=root,routes/a
Remove hydration URL check that was originally added for React 17 hydration issues and we no longer support React 17 (#9890)
v1.18.0
via #64091.18.0
turned out to be subject to false positives of it's own which could also put the user in looping scenariosSingle Fetch: Improved typesafety (#9893)
If you were already using previously released unstable single-fetch types:
"@​remix-run/react/future/single-fetch.d.ts"
override fromtsconfig.json
>compilerOptions
>types
defineLoader
,defineAction
,defineClientLoader
,defineClientAction
helpers from your route modulesUIMatch_SingleFetch
type helper withUIMatch
MetaArgs_SingleFetch
type helper withMetaArgs
Then you are ready for the new typesafety setup:
For more information, see Guides > Single Fetch in our docs.
Clarify wording in default
HydrateFallback
console warning (#9899)Updated dependencies:
@remix-run/[email protected]
remix-run/remix (@remix-run/serve)
v2.12.0
Compare Source
Patch Changes
@remix-run/[email protected]
@remix-run/[email protected]
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.