/deep/ combinator is deprecated. See https://www.chromestatus.com/features/6750456638341120 for more details

Today when I tried to access my website it is showing following error on console

/deep/ combinator is deprecated. See https://www.chromestatus.com/features/6750456638341120 for more details

Read More

error message

When I follow the link it tells me:

When a >>> combinator (or shadow-piercing descendant combinator) is encountered in a selector, replace every element in the selector match list with every element reachable from the original element by traversing any number of child lists or shadow trees.

But I don’t understand what I should I change to fix this. What is the correct workaround for avoiding the error from function querySelectorAll when using the deprecated /deep/ combinator?

Related posts