question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Angular - moving on from shadow-Piercing descendant combinator - /deep/

See original GitHub issue

Hi All,

Just seen the following notice, first I have heard seen until today:

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

This is best practise at the moment (https://angular.io/docs/ts/latest/guide/component-styles.html#!#-deep-) ?

Does the Angular Team have a better reccomendation going foward or is this going to be removed going forward?

Current Version: 2.2.1

Many thanks.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
zoechicommented, Nov 22, 2016

It already does. Try in IE, Edge, Firefox. They never supported /deep/.

0reactions
angular-automatic-lock-bot[bot]commented, Sep 10, 2019

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I fix the "The shadow-piercing descendant combinator ...
So your best bet would be to remove / replace all your >>> selectors with non shadow-piercing descendant combinator alternatives. The linked ...
Read more >
Intent to Deprecate: Shadow-Piercing descendant combinator ...
DevTools does not use deep selector as of M45, the code that you see is for opening legacy front-ends while remote debugging. It...
Read more >
The State of CSS in Angular
... like moving a component to a different location, ... including >>>, /deep/, or the more official Shadow-Piercing descendant combinator.
Read more >
angular/angular - Gitter
The shadow-piercing descendant combinator is deprecated and support is being removed ... As such we plan to drop support in Angular (for all...
Read more >
Angular Component styling — Using shadow piercing ...
In this post, I am going to share how the shadow piercing descendant selector ... But you can use this in Angular using...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found