Skip to content

The pseudo class ":first-child" is potentially unsafe when doing server-side rendering.  #6998

@ringodotnl

Description

@ringodotnl

Describe the bug
At the console: The pseudo class ":first-child" is potentially unsafe when doing server-side rendering. Try changing it to ":first-of-type".

To Reproduce
Run the angular demo in this repo and check the console.

Expected behavior
No error log

System:

  • OS: [Windows10,]
  • Device: [Desktop]
  • Browser: [Chrome]
  • Framework: [angular]
  • Addons: [all]
  • Version: [5.1.1 and 5.2.0-alpha.21]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions