Repository navigation
[remix] extract remaining framework specific settings to FrameworkSettings - #12992
Merged
erikareads merged 3 commits intoFeb 5, 2025
Merged
erikareads merged 3 commits into
erikareads merged 3 commits into
Conversation
🦋 Changeset detectedLatest commit: 9efe117 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
erikareads
marked this pull request as ready for review
January 31, 2025 21:49
erikareads
requested review from
EndangeredMassa,
TooTallNate,
jeffsee55,
onsclom and
trek
as code owners
January 31, 2025 21:49
erikareads
enabled auto-merge
January 31, 2025 21:51
…cifics-to-settings
EndangeredMassa
approved these changes
Feb 5, 2025
erikareads
added this pull request to the merge queue
Feb 5, 2025
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Feb 5, 2025
erikareads
added this pull request to the merge queue
Feb 5, 2025
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Feb 5, 2025
trek
approved these changes
Feb 5, 2025
erikareads
added this pull request to the merge queue
Feb 5, 2025
erikareads
deleted the
erikarowland/extract-remaining-framework-specifics-to-settings
branch
February 5, 2025 22:14
Merged
github-merge-queue Bot
pushed a commit
that referenced
this pull request
Feb 6, 2025
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @vercel/[email protected] ### Patch Changes - Add tracer utility to @vercel/build-utils ([#13013](#13013)) ## [email protected] ### Patch Changes - Updated dependencies \[[`5c404c56702ff8685628ffe0db8a90e8cb87568a`](5c404c5), [`9eb8f5646dd8079398b7a32cd4a9e8ed6cb240dd`](9eb8f56)]: - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - Updated dependencies \[[`5c404c56702ff8685628ffe0db8a90e8cb87568a`](5c404c5)]: - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - Updated dependencies \[[`5c404c56702ff8685628ffe0db8a90e8cb87568a`](5c404c5)]: - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - Updated dependencies \[[`5c404c56702ff8685628ffe0db8a90e8cb87568a`](5c404c5)]: - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - [remix] extract remaining framework specific settings to FrameworkSettings ([#12992](#12992)) ## @vercel/[email protected] ### Patch Changes - Updated dependencies \[]: - @vercel/[email protected] Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
github-merge-queue Bot
pushed a commit
that referenced
this pull request
Feb 12, 2025
…#13023) Building on #12992 this PR unifies the logic for function creation between Remix and React Router. There was also a lot of duplicated logic between Edge and Node runtime function creation, which I've refactored into a single code path. Previously, there were a lot of checks that switched dependent on runtime (node vs edge), this PR centralizes that check into `getRuntimeSettings`.
QuietCraftsmanship
pushed a commit
to QuietCraftsmanship/Vercel
that referenced
this pull request
Jul 6, 2025
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @vercel/[email protected] ### Patch Changes - Add tracer utility to @vercel/build-utils ([#13013](vercel/vercel#13013)) ## [email protected] ### Patch Changes - Updated dependencies \[[`5cbd17a62f6180e5bbec29eeeadb1e4bf2bced1a`](vercel/vercel@5cbd17a), [`38bff029c54dd38dad49406f6e7c30253aba0d99`](vercel/vercel@38bff02)]: - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - Updated dependencies \[[`5cbd17a62f6180e5bbec29eeeadb1e4bf2bced1a`](vercel/vercel@5cbd17a)]: - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - Updated dependencies \[[`5cbd17a62f6180e5bbec29eeeadb1e4bf2bced1a`](vercel/vercel@5cbd17a)]: - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - Updated dependencies \[[`5cbd17a62f6180e5bbec29eeeadb1e4bf2bced1a`](vercel/vercel@5cbd17a)]: - @vercel/[email protected] ## @vercel/[email protected] ### Patch Changes - [remix] extract remaining framework specific settings to FrameworkSettings ([#12992](vercel/vercel#12992)) ## @vercel/[email protected] ### Patch Changes - Updated dependencies \[]: - @vercel/[email protected] Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 lays the groundwork for creating a common Node ServerFunction creation function and a common Edge ServerFunction creation function that both Remix and React Router use. This PR extracts the last remaining framework specific settings into
FrameworkSettings.Currently, we have three functions:
createRenderReactRouterFunction- which has both Node and Edge logic includedcreateRenderNodeFunctioncreateRenderEdgeFunctionMuch of the logic between the Node and Edge paths are shared between the React Router and Remix cases. This PR extracts all the information needed to consolidate into one Node function and one Edge function that both React Router and Remix can go through.
The logic for creating for creating a function doesn't seem like it should vary between React Router and Remix, and it's likely that these need to be updated at the same time in the future. Thus it makes sense to move towards consolidating their logic.