Files
sweet/packages/fresh
Bartek IwańczukandClaude Opus 4.6 be467d3cdb fix: warn when Partial with append/prepend mode is missing key prop (#3738)
## Summary
- Adds a `console.warn` during SSR when a `<Partial>` uses
`mode="append"` or `mode="prepend"` without a `key` prop
- Without a key, Preact cannot correctly reconcile prepended/appended
children, leading to subtle rendering bugs
- No warning for `mode="replace"` (default) since keys aren't required
there

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 20:33:14 +02:00
..
2026-03-28 10:01:28 +01:00

Fresh

Fresh is a small, fast and extensible full stack web framework built on Web Standards. It’s designed for building high-quality, performant, and personalized web applications.

Learn more about Fresh

Usage

Generate a new Fresh project with @fresh/init:

deno create @fresh/init

Add middleware, routes, & endpoints as needed via the routes/ folder or directly on the App instance.

import { App } from "fresh";

const app = new App()
  .get("/", () => new Response("hello world"))
  .get("/jsx", (ctx) => ctx.render(<h1>render JSX!</h1>));

app.listen();

For more information on getting started with Fresh, head on over to the documentation.