Skip to content

Commit 51a8ffb

Browse files
committed
Merge branch 'main' into statamic-6
2 parents 0d7eb93 + 44594fc commit 51a8ffb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/upgrade-4-to-5.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Upgrade steps
44
1. Replace `"marcorieser/statamic-livewire": "^4.0"` with `"marcorieser/statamic-livewire": "^5.0"` in your `composer.json`
55
2. Remove the `RestoreCurrentSite` trait from your components
6-
3. Remove the `{{ computed:... }}` tags in your views
6+
3. Remove the `{{ livewire:computed:... }}` tags in your views
77
4. Remove the `DataFetcher` helper if you're using it (quite unlikely)
88

99
## In details
@@ -16,7 +16,7 @@ Therefore, the deprecated `RestoreCurrentSite` trait is removed, and you need to
1616
### Computed Properties
1717
Computed properties are available in your Antlers views automatically. You can use the property name like any other variable.
1818

19-
For example `{{ computed:entries }}` is now `{{ entries }}`.
19+
For example `{{ livewire:computed:entries }}` is now `{{ entries }}`.
2020

2121
Additionally, the `DataFetcher` helper is removed since it was only used for accessing computed properties behind the scenes.
2222

0 commit comments

Comments
 (0)