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`