Skip to content

Commit f4c9718

Browse files
committed
v0.15.0
1 parent 8c402ef commit f4c9718

File tree

5 files changed

+10
-12
lines changed

5 files changed

+10
-12
lines changed

.changeset/happy-actors-pretend.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/perfect-pears-look.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @solidjs/router
22

3+
## 0.15.0
4+
5+
### Minor Changes
6+
7+
- 6799556: rename `cache` to `query`, action `onComplete`
8+
39
## 0.14.10
410

511
### Patch Changes

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,9 @@ const deleteUser = action(api.deleteTodo)
558558
</form>
559559
```
560560

561-
#### Notes of `<form>` implementation and SSR
561+
Actions also a second argument which can be the name or an option object with `name` and `onComplete`. `name` is used to identify SSR actions that aren't server functions (see note below). `onComplete` allows you to configure behavior when `action`s complete. Keep in mind `onComplete` does not work when JavaScript is disabled.
562+
563+
#### Notes on `<form>` implementation and SSR
562564
This requires stable references as you can only serialize a string as an attribute, and across SSR they'd need to match. The solution is providing a unique name.
563565

564566
```jsx

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"Ryan Turnquist"
77
],
88
"license": "MIT",
9-
"version": "0.14.10",
9+
"version": "0.15.0",
1010
"homepage": "https://github.com/solidjs/solid-router#readme",
1111
"repository": {
1212
"type": "git",

0 commit comments

Comments
 (0)