import { CodeBlock } from "../../components/CodeBlock.tsx"; import { CodeWindow } from "../../components/CodeWindow.tsx"; import { PageSection } from "../../components/PageSection.tsx"; import { SideBySide } from "../../components/SideBySide.tsx"; import { SectionHeading } from "../../components/homepage/SectionHeading.tsx"; import { DemoBox } from "../../components/homepage/DemoBox.tsx"; import { ExampleArrow } from "../../components/homepage/ExampleArrow.tsx"; import { RecipeDemo } from "../../components/homepage/RecipeDemo.tsx"; import { FancyLink } from "../../components/FancyLink.tsx"; const islandCode = `import { Partial } from "fresh/runtime"; export const Recipes = () => (
Click a recipe to stream HTML into this spot
);`; export function PartialsSection() { return (
Stream HTML straight from the server

Swap chunks of HTML from the server straight into the page. No full reload, no client-side routing library. Click a link or submit a form and Fresh streams just the part that changed. Perfect for interactive elements and dynamic apps.

Learn more about Partials
); }