Skip to content

fix(gatsby-plugin-preact): fix fast-refresh#29831

Merged
vladar merged 1 commit into
masterfrom
fix/preact-fast-refresh
Mar 1, 2021
Merged

fix(gatsby-plugin-preact): fix fast-refresh#29831
vladar merged 1 commit into
masterfrom
fix/preact-fast-refresh

Conversation

@wardpeet

Copy link
Copy Markdown
Contributor

Description

Fix fast-refresh for gatsby-plugin-preact.

The runtime module isn't being loaded when using preact so gatsbyEvents is not set. This also disables our error modals 😬 that's another bug to fix but at least this fixes updates

@gatsbot gatsbot Bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Feb 28, 2021
@wardpeet wardpeet added topic: preact* and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Feb 28, 2021
@wardpeet wardpeet force-pushed the fix/preact-fast-refresh branch from 8b26569 to 7f53f23 Compare February 28, 2021 13:00
@vladar vladar merged commit 81a3776 into master Mar 1, 2021
@vladar vladar deleted the fix/preact-fast-refresh branch March 1, 2021 10:38
vladar pushed a commit that referenced this pull request Mar 1, 2021
vladar pushed a commit that referenced this pull request Mar 1, 2021
(cherry picked from commit 81a3776)

Co-authored-by: Ward Peeters <ward@coding-tech.com>
raffishquartan pushed a commit to raffishquartan/gatsby that referenced this pull request Apr 28, 2026
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.

2 participants