Edge Computing with Cloudflare Workers
Doubling down on local development with Workers: Miniflare meets workerd

Doubling down on local development with Workers: Miniflare meets workerd

11/18/2022 · Brendan Coll

What this post added

This post introduces Miniflare 3, powered by the open-sourced `workerd` runtime, which provides bug-for-bug compatibility with the Cloudflare Workers production environment. This eliminates subtle behavior mismatches previously present in Miniflare 2, improving local development fidelity. It also introduces experimental opt-in support for accessing real data (initially Workers KV) locally. The default behavior of `wrangler dev` will shift to `--local` mode due to significant performance improvements in startup and script reload times. A new `wrangler init --from-dash` command is introduced to facilitate local development of existing dashboard-based Workers.

Read the original post ↗