Start your All-Access Pass to unlock this challenge
How could you convert this Twig Component into a Live Component:
namespace App\Twig\Components; use Symfony\UX\TwigComponent\Attribute\AsTwigComponent; #[AsTwigComponent] class Alert { }
namespace App\Twig\Components; use Symfony\UX\TwigComponent\Attribute\AsTwigComponent; #[AsLiveComponent] class Alert { }
namespace App\Twig\Components; use Symfony\UX\LiveComponent\Attribute\AsLiveComponent; #[AsLiveComponent] class Alert { }
namespace App\Twig\Components; use Symfony\UX\TwigComponent\Attribute\AsTwigComponent; #[AsTwigComponent("live": true)] class Alert { }