---
title: "lint/livewire-3"
pagination: false
---

{/* Generated by scripts/gen-rule-docs.py. Edit mapping.toml, not this file. */}

Upgrade to Livewire 3: code a newer Livewire removes, deprecates or does better.

**[prefer-computed-attribute](/docs/rules/lint/livewire-3/prefer-computed-attribute)**

Converts the computed methods of a Livewire component to use the Computed Attribute

Not in any preset. In Rector's `rector-laravel/livewire-30`, `rector-laravel/up-to-livewire-30` sets. Unsafe fix: it can change behavior.

**[prefer-url-attribute](/docs/rules/lint/livewire-3/prefer-url-attribute)**

Converts the $queryString property of a Livewire component to use the Url Attribute

Not in any preset. In Rector's `rector-laravel/livewire-30`, `rector-laravel/up-to-livewire-30` sets. Unsafe fix: it can change behavior.
