Skip to content

feat(plugin-prefresh): support for prefresh#2469

Merged
chenjiahan merged 17 commits intomainfrom
preact_refresh_0529
Oct 26, 2024
Merged

feat(plugin-prefresh): support for prefresh#2469
chenjiahan merged 17 commits intomainfrom
preact_refresh_0529

Conversation

@chenjiahan
Copy link
Copy Markdown
Member

@chenjiahan chenjiahan commented May 29, 2024

Summary

  • Add support for prefresh.
  • Add new prefreshEnabled option to enable/disable prefresh.
  • prefreshEnabled is enabled by default.

Related Links

https://github.com/rspack-contrib/rspack-plugin-preact-refresh
https://github.com/preactjs/prefresh

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@chenjiahan chenjiahan marked this pull request as draft May 29, 2024 14:41
@netlify
Copy link
Copy Markdown

netlify bot commented May 29, 2024

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit a8a0852
🔍 Latest deploy log https://app.netlify.com/sites/rsbuild/deploys/671c3eb99099890008028e1d
😎 Deploy Preview https://deploy-preview-2469--rsbuild.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 76 (🟢 up 3 from production)
Accessibility: 97 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: 60 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@jdavis
Copy link
Copy Markdown

jdavis commented Oct 23, 2024

Hi, just curious, what's the state of this draft PR? Is there an easy way to get Prefresh working with Rsbuild?

@chenjiahan
Copy link
Copy Markdown
Member Author

At that time, I was waiting for a stable release of @rspack/plugin-preact-refresh.

Considering that @rspack/plugin-preact-refresh v1.0 has been released, I will finish this PR soon.

@chenjiahan chenjiahan marked this pull request as ready for review October 25, 2024 09:44
@chenjiahan chenjiahan merged commit 6cfcb64 into main Oct 26, 2024
@chenjiahan chenjiahan deleted the preact_refresh_0529 branch October 26, 2024 01:06
@jdavis
Copy link
Copy Markdown

jdavis commented Oct 28, 2024

Incredible. Thank you!

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