Skip to content

New Workload: React Server Side Rendering Startup #116

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

Open
wants to merge 29 commits into
base: main
Choose a base branch
from

Conversation

camillobruni
Copy link
Contributor

@camillobruni camillobruni commented Aug 7, 2025

I've create a react app that renders a little wine-collection with different react components.

Currently the setup uses webpack to build a web-bundle that we can run in the browser.

  • We generate two bundles:
    • minified sources with mangled names as default for the benchmark
    • minifed sources with unmangeled names for nicer local profiling (we do have source maps, but we we don't check in the node modules)
  • A custom TerserPlugin injects a comment into every function-body
  • A last step stringifies the bundled code for later evaling

For cache-busting new sources are generated for each iteration and the custom comment is replaced with iteration-unique string.

This is a first iteration of this approach / workload happy to get some feedback.

Copy link

netlify bot commented Aug 7, 2025

Deploy Preview for webkit-jetstream-preview ready!

Name Link
🔨 Latest commit edc344c
🔍 Latest deploy log https://app.netlify.com/projects/webkit-jetstream-preview/deploys/689b64a3e29ad00008d27d3b
😎 Deploy Preview https://deploy-preview-116--webkit-jetstream-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

@camillobruni camillobruni changed the title New Workload: React Server Side Rendering + jsdom New Workload: React Server Side Rendering Aug 11, 2025
@camillobruni camillobruni changed the title New Workload: React Server Side Rendering New Workload: React Server Side Rendering Startup Aug 11, 2025
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.

1 participant