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

Fresh Partials let you fetch HTML and update only the parts of the page that need to change, without reloading the entire page.

Learn more about Partials
); }