You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
which means that I had access to the full class flex-table__header.
However, because modern browser are gaining support of & natively, then depending on the browserlist configuration we don't always have the full class generated.
Is it possible to support such syntax with CSS Modules or do I need to be careful about not using & & trick anymore?
Note
& & trick, was handy because by renaming the top level class all nested reference where automatically renamed too.
With modern CSS, we now have access to the nesting selector
&.When targeting old browser in the past I didn't have any trouble because it was generating something like:
which means that I had access to the full class
flex-table__header.However, because modern browser are gaining support of
&natively, then depending on the browserlist configuration we don't always have the full class generated.Is it possible to support such syntax with CSS Modules or do I need to be careful about not using
& &trick anymore?Note
& &trick, was handy because by renaming the top level class all nested reference where automatically renamed too.