The Cloudflare Vite plugin now integrates seamlessly @vitejs/plugin-rsc, the official Vite plugin for React Server Components.
A childEnvironments option has been added to the plugin config to enable using multiple environments within a single Worker.
The parent environment can then import modules from a child environment in order to access a separate module graph.
For a typical RSC use case, the plugin might be configured as in the following example:
export default defineConfig({ plugins: [ cloudflare({ viteEnvironment: { name: "rsc", childEnvironments: ["ssr"], }, }), ],});@vitejs/plugin-rsc provides the lower level functionality that frameworks, such as React Router, build upon.
The GitHub repository includes a basic Cloudflare example.
Source: Cloudflare
Latest Posts
- Updates available for Microsoft 365 Apps for Current Channel [MC1323310]
![Updates available for Microsoft 365 Apps for Current Channel [MC1323310] 2 pexels anniroenkae 2798881.bak](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Data Privacy: Microsoft Online Services Subprocessor Disclosure [MC1323272]
![Data Privacy: Microsoft Online Services Subprocessor Disclosure [MC1323272] 3 pexels energepic com 27411 313690](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Amazon GuardDuty Malware Protection for AWS Backup supports Amazon S3 continuous backups

- AWS Deadline Cloud now supports browsing job attachments in the monitor


![Updates available for Microsoft 365 Apps for Current Channel [MC1323310] 2 pexels anniroenkae 2798881.bak](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-anniroenkae-2798881.bak_-150x150.webp)
![Data Privacy: Microsoft Online Services Subprocessor Disclosure [MC1323272] 3 pexels energepic com 27411 313690](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-energepic-com-27411-313690-150x150.webp)


