Oct 2, 2023
Actually you can, the syntax for having alias is as follows.
```
@if (store.myState(); as state) {
// You can use the state here.
}
```
Actually you can, the syntax for having alias is as follows.
```
@if (store.myState(); as state) {
// You can use the state here.
}
```
Software developer and a blogger. Fond of Angular, React, Vue and Blazor frameworks. Follow me on Twitter — @maddydeep28. PortFolio — https://madhust.github.io/