Parcel + Cloudflare Workers + React Server Component widget example
This widget is rendered by a React Server Component within a Cloudflare Worker.
It demonstrates how to fetch data live from an external source and render it within a React Server Component, which is something that hasn't been possible in normal Page Builder widgets before!.
Here is a client component:
This form submits a server action.
Here's the current time:
ISO: 2025-12-13T17:22:19.264Z
Local: 12/13/2025, 5:22:19 PM
(fetched live from https://some-time-api-451041921684.us-central1.run.app/ and cached for 10 seconds by Cloudflare)