What are the Slack Archives?

Itโ€™s a history of our time together in the Slack Community! Thereโ€™s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you wonโ€™t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hello everyone! After switching from 2020.01 release to 2020.09 I'm getting plenty of errors in my S

U01DE320SN6
U01DE320SN6 Posts: 37 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

Hello everyone! After switching from 2020.01 release to 2020.09 I'm getting plenty of errors in my ShopUI organism/molecule twig templates, they all have the same pattern:

{% block body %}
    <div class="{{ config.name }}__overlay {{ attributes['trigger-selector'] }}"></div>

    <aside class="{{ component.renderClass(config.name ~ '__drawer', modifiers) }}">
Twig \ Error \ RuntimeError
Variable "component" does not exist.

So for me it looks like some part of API was updated, so we have no access to component anymore, and we have to use something else instead of component.renderClass . But what function I should call from now?

Comments