Description
Hey,
Lately symfony ux 2.18 was released and it appears to include a breaking change in it:
Throws if exposed public prop is uninitialized by @smnandre in #1780
Error rendering "FooComponent" component: Cannot expose uninitialized property "$prop" from "App\Twig\Components\FooComponent".
Luckily we only had 2 places that had issue by doing the update, but it was working fine before. It was possible to check for is defined
or use the ??
operator to compensate for a non-initialized value. Even tho I see why this change makes sense, but having to deal with it in a minor version update feels not fully right, so I wanted to open this discussion if that is something that should be addressed or not :)
No matter what, thank you for all your efforts on moving forward with Symfony UX, thanks for your effort and passion <3