From 7524d00ccf1bceb7d5e1a2e38c7e42d973e3763c Mon Sep 17 00:00:00 2001 From: kku77 <108307901+kku77@users.noreply.github.com> Date: Mon, 4 Jul 2022 06:47:48 -0700 Subject: [PATCH] docs: fix minor typos (#393) --- docs/concepts/islands.md | 2 +- docs/concepts/static-files.md | 2 +- docs/getting-started/adding-interactivity.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/concepts/islands.md b/docs/concepts/islands.md index f4372fc9..ba6351c7 100644 --- a/docs/concepts/islands.md +++ b/docs/concepts/islands.md @@ -9,7 +9,7 @@ components in Fresh, as they are usually just rendered on the server. Islands are defined by creating a file in the `islands/` folder in a Fresh project. The name of this file must be a PascalCase name of the island. The file -must have a default export that is a regular preact component. +must have a default export that is a regular Preact component. ```tsx // islands/MyIsland.tsx diff --git a/docs/concepts/static-files.md b/docs/concepts/static-files.md index 59e87f0a..8c5594ff 100644 --- a/docs/concepts/static-files.md +++ b/docs/concepts/static-files.md @@ -15,7 +15,7 @@ Fresh also adds an `etag` header to assets automatically and handles the ### Caching By default, no caching headers are added to assets. This can be disadvantageous -in many scenarios, so fresh makes it easy to serve assets with long cache +in many scenarios, so Fresh makes it easy to serve assets with long cache lifetimes too. The first approach to do this is manual. The client runtime exports an `asset` diff --git a/docs/getting-started/adding-interactivity.md b/docs/getting-started/adding-interactivity.md index 848e3619..32176607 100644 --- a/docs/getting-started/adding-interactivity.md +++ b/docs/getting-started/adding-interactivity.md @@ -11,7 +11,7 @@ you get the choice of shipping no JavaScript to the client or shipping a renderer for the entire page. This is not very flexible, especially considering that most pages will only have -small pieces of content that require interactivity. For example an otherwise +small pieces of content that require interactivity. For example, an otherwise static page might need a little bit of JavaScript to power an image carousel or "buy now" button. This model is often called [islands architecture][islands-architecture]. This refers to a page having