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

Functional components don't add class attribute from parent #10254

Closed
rleite opened this issue Jul 10, 2019 · 2 comments
Closed

Functional components don't add class attribute from parent #10254

rleite opened this issue Jul 10, 2019 · 2 comments

Comments

@rleite
Copy link

rleite commented Jul 10, 2019

Version

2.6.10

Reproduction link

https://codesandbox.io/s/functional-components-issue-ubtr8

Steps to reproduce

Create a functional component.
Add that component to another with a class attribute

What is expected?

The class attribute should be added to the root element of the component

What is actually happening?

The class attribute is ignored

@posva
Copy link
Member

posva commented Jul 10, 2019

Duplicate of #7554

@posva posva marked this as a duplicate of #7554 Jul 10, 2019
@posva posva closed this as completed Jul 10, 2019
@rleite
Copy link
Author

rleite commented Jul 10, 2019

Thanks @posva

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