Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The pseudo class ":first-child" is potentially unsafe. #252

Closed
JimLin94 opened this issue Nov 5, 2020 · 2 comments
Closed

The pseudo class ":first-child" is potentially unsafe. #252

JimLin94 opened this issue Nov 5, 2020 · 2 comments

Comments

@JimLin94
Copy link

JimLin94 commented Nov 5, 2020

Hi there,

Me and C1 folks got this warning from the console when some of the components are mounted. That would be lovely if it could be fixed sometime soon.

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

image

warn mov

@JimLin94
Copy link
Author

JimLin94 commented Nov 5, 2020

Duplicate #158

@JimLin94 JimLin94 closed this as completed Nov 5, 2020
@cheton
Copy link
Member

cheton commented Nov 5, 2020

@JimLin94

It will be fixed in #253

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants