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

Fix HMR in React Framework #1196

Merged
merged 16 commits into from
Oct 1, 2023
Merged

Fix HMR in React Framework #1196

merged 16 commits into from
Oct 1, 2023

Conversation

AlecAivazis
Copy link
Collaborator

This PR rewires the adapter logic to not force vite and @whatwg-node/server to work together. Instead I added another layer between the two so that we can use the generic adapter in prod but use something more vite-compatible in dev.

Along the way, I also made sure that the cloudflare deployment story ironed out. There was an issue caused by fragments (i wasn't compiling user's files down to something appropriate for the server). Now, there is an ssr build that gets generated to use on the server (this is where houdini/adapter ultimately points to)

@changeset-bot
Copy link

changeset-bot bot commented Oct 1, 2023

🦋 Changeset detected

Latest commit: 81960d4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
houdini-react Patch
houdini-adapter-cloudflare Patch
houdini-plugin-svelte-global-stores Patch
houdini-svelte Patch
houdini Patch
create-houdini Patch

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

@netlify
Copy link

netlify bot commented Oct 1, 2023

Deploy Preview for houdinigraphql canceled.

Name Link
🔨 Latest commit 81960d4
🔍 Latest deploy log https://app.netlify.com/sites/houdinigraphql/deploys/6519e1bcb1e87000081d9db0

@netlify
Copy link

netlify bot commented Oct 1, 2023

Deploy Preview for houdini-docs-next canceled.

Name Link
🔨 Latest commit 81960d4
🔍 Latest deploy log https://app.netlify.com/sites/houdini-docs-next/deploys/6519e1bc88b0190008e7bda2

@cloudflare-pages
Copy link

cloudflare-pages bot commented Oct 1, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 81960d4
Status:🚫  Build failed.

View logs

@github-actions github-actions bot mentioned this pull request Oct 1, 2023
@github-actions github-actions bot mentioned this pull request Oct 1, 2023
@AlecAivazis AlecAivazis merged commit e92ea8f into main Oct 1, 2023
17 of 18 checks passed
@AlecAivazis AlecAivazis deleted the next branch October 1, 2023 21:27
@github-actions github-actions bot mentioned this pull request Oct 1, 2023
@AlecAivazis AlecAivazis restored the next branch October 8, 2023 05:48
@github-actions github-actions bot mentioned this pull request Oct 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant