form:has(.conditional-checkbox:not(:checked)) .optional-part-of-form {
display: none;
}
I’m not saying it’s better (it’s not). Just saying there’s a lot of space between “just HTML” and “a web framework”. It’s worth considering these other options instead of going “full React” from the get-go.
However, comparing prices between cars nowadays is a complicated matter. BMW's iX1 and iX2 (they use the BMW EESM motors) theoretically cost about €55k, but they have been very recently available to lease for about €250 euro per month - so pretty much for the same price as the cheapest electric Renault if leased.