Skip to content

Conversation

@markdalgleish
Copy link
Member

@markdalgleish markdalgleish commented Apr 7, 2024

action-test was failing because of the use of LiveReload.

LiveReload was causing errors because react-router-dom/server wasn't in Vite's optimizeDeps.include list, whereas @remix-run/react was. This meant that the Vite detection logic didn't work (let isViteClient = import.meta && import.meta.env !== undefined) so rather than rendering null it was falling through to the old logic that assumes the use of the classic compiler.

Since the LiveReload component is now dead code because we're only using Vite, I'm opting to remove it entirely rather than re-introducing react-router-dom/server to optimizeDeps.include, cc @brophdawg11.

@changeset-bot
Copy link

changeset-bot bot commented Apr 7, 2024

⚠️ No Changeset found

Latest commit: e92127e

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

@markdalgleish markdalgleish merged commit 2e162a0 into v7 Apr 7, 2024
@markdalgleish markdalgleish deleted the markdalgleish/remove-livereload branch April 7, 2024 22:41
"test:integration": "pnpm playwright:integration",
"posttest:integration": "pnpm clean:integration",
"playwright:integration": "playwright test --config ./integration/playwright.config.ts --project chromium",
"playwright:integration": "playwright test --config ./integration/playwright.config.ts --project=chromium",
Copy link
Member Author

Choose a reason for hiding this comment

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

I changed this so that I can pass a test name, otherwise it treats it as another project name.

@github-actions
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!

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