Skip to content
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

Migrate Fog of War from Remix 2.10.0 #11735

Merged
merged 8 commits into from
Jun 27, 2024

Conversation

brophdawg11
Copy link
Contributor

Dependent on #11734

Copy link

changeset-bot bot commented Jun 26, 2024

⚠️ No Changeset found

Latest commit: 9835de6

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Base automatically changed from brophdawg11/remix-2-10-0 to v7 June 26, 2024 16:17
@brophdawg11 brophdawg11 force-pushed the brophdawg11/remix-2-10-0-fog-of-war branch from 96b3d7a to 460a0f3 Compare June 27, 2024 20:05
@brophdawg11 brophdawg11 reopened this Jun 27, 2024
@brophdawg11 brophdawg11 merged commit 9b120d3 into v7 Jun 27, 2024
5 checks passed
@brophdawg11 brophdawg11 deleted the brophdawg11/remix-2-10-0-fog-of-war branch June 27, 2024 20:28
Copy link
Contributor

🤖 Hello there,

We just published version 6.28.2-pre.0 which includes this pull request. If you'd like to take it for a test run please try it out and let us know what you think!

Thanks!

7 similar comments
Copy link
Contributor

🤖 Hello there,

We just published version 6.28.2-pre.0 which includes this pull request. If you'd like to take it for a test run please try it out and let us know what you think!

Thanks!

Copy link
Contributor

🤖 Hello there,

We just published version 6.28.2-pre.0 which includes this pull request. If you'd like to take it for a test run please try it out and let us know what you think!

Thanks!

Copy link
Contributor

🤖 Hello there,

We just published version 6.28.2-pre.0 which includes this pull request. If you'd like to take it for a test run please try it out and let us know what you think!

Thanks!

Copy link
Contributor

🤖 Hello there,

We just published version 6.28.2-pre.0 which includes this pull request. If you'd like to take it for a test run please try it out and let us know what you think!

Thanks!

Copy link
Contributor

🤖 Hello there,

We just published version 6.28.2-pre.0 which includes this pull request. If you'd like to take it for a test run please try it out and let us know what you think!

Thanks!

Copy link
Contributor

🤖 Hello there,

We just published version 6.28.2-pre.0 which includes this pull request. If you'd like to take it for a test run please try it out and let us know what you think!

Thanks!

Copy link
Contributor

🤖 Hello there,

We just published version 6.28.2-pre.0 which includes this pull request. If you'd like to take it for a test run please try it out and let us know what you think!

Thanks!

patchRoutes: Router["patchRoutes"]
): Promise<void> {
let { nextPaths, knownGoodPaths, known404Paths } = _fogOfWar;
let manifestPath = `${basename != null ? basename : "/"}/__manifest`.replace(
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@brophdawg11 why force the path here so the manifest is always at root / path? This breaks apps with the ssr:false (in react-router.config.ts) and a base path set in vite.config.ts on react-router 7.1.3. The manifest.url has the correct URL but that's not being used.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants