docs: fix minor typos (#393)

This commit is contained in:
kku77
2022-07-04 13:47:48 +00:00
committed by GitHub
parent ace9b47a71
commit 7524d00ccf
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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`
+1 -1
View File
@@ -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