Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Scoped styles inconsistent between functional and stateful components #1136
Steps to reproduce
Inspect the markup of the buttons in the output panel. Pay close attention to how the v scoped style attributes are being applied in each case.
What is expected?
Regardless of whether a component is wrapped in a stateful scoped styles component or a functional scoped styles component, how attributes are applied should be the same.
What is actually happening?
There are other issues here, I'm just a bit too tired to list them all at the moment. The gist of the problem is if you decide to change a component from stateful to functional or vice versa you're probably going to have broken styles.