On Wed, Jul 3, 2024 at 1:24 PM Rob Landers <rob@bottled.codes> wrote:

>
> So, if v4 has BC breaks ... how would Drupal not crash? If you allow
> multiple versions, how would you use both versions? I'm not even sure that
> is a logical possibility.
>
>
Twig in Drupal will be installed the old way and find itself bound at \Twig\

import 'twig/twig v4' as NewTwig

That aliases the new version to \NewTwig\

And you can work with it by addressing the new library at the new
namespace.  I'll go through this in more detail in the 4th iteration post
for this which I'll work on tonight.

Reply via email to