BLADE;
}
}
```
### Lazy
It is possible to use Lazy properties, these properties will not be sent over the wire unless they're included. **Always
include properties permanently** because a data object is being transformed and then cast again between Livewire
requests the includes should be permanent.
It is possible to query lazy nested data objects, it is however not possible to query lazy properties which are not a data:
```php
use Spatie\LaravelData\Lazy;
class LazySongData extends Data
{
public function __construct(
public Lazy|ArtistData $artist,
public Lazy|string $title,
) {}
}
```
Within your Livewire view
```php
$this->data->artist->name; // Works
$this->data->title; // Does not work
```
### Validation
Laravel data **does not provide validation** when using Livewire, you should do this yourself! This is because laravel-data
does not support object validation at the moment. Only validating payloads which eventually become data objects.
The validation could technically happen when hydrating the data object, but this is not implemented
because we cannot guarantee that every hydration happens when a user made sure the data is valid
and thus the payload should be validated.
]]>