Skip to content

Commit 481ff03

Browse files
authored
chore: fix typos, remove duplicate list item, improve clarity (#2)
1 parent 65a5ea6 commit 481ff03

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Use `<? ... ?>` for JavaScript control flow:
124124
125125
### Streaming Content
126126
127-
Use `echo()` function for streaming content. Accepts: strings, functions, Promises, Response objects, or ReadableStreams:
127+
Use the `echo()` function for streaming content. Accepts: strings, functions, Promises, Response objects, or ReadableStreams:
128128
129129
**Examples:**
130130
@@ -134,7 +134,7 @@ Use `echo()` function for streaming content. Accepts: strings, functions, Promis
134134
echo("Welcome to our site!");
135135
</script>
136136
137-
<!-- Async content from API (non blocking)-->
137+
<!-- Async content from API (non-blocking)-->
138138
<script server>
139139
echo("Hello");
140140
echo(async () => fetch("https://api.example.com/data"));
@@ -152,7 +152,6 @@ Access request context and global state:
152152
- `$HEADERS`: Request headers
153153
- `$RESPONSE`: Response configuration object
154154
- `$COOKIES`: Read-only object containing request cookies
155-
- `$RESPONSE`: Response configuration object
156155
157156
### Cookie Management
158157
@@ -208,7 +207,7 @@ The `htmlspecialchars()` function is available for escaping HTML content:
208207
209208
</details>
210209
211-
## Perior Arts
210+
## Prior Art
212211
213212
- [jaubourg/jhp](https://github.com/jaubourg/jhp)
214213
- [atinux/pjs](https://github.com/atinux/pjs)

0 commit comments

Comments
 (0)