Open
Description
Steps to reproduce
- Create a list of items, one with items rendered normally, one with items rendered with styled-components
- Profile the list with the flamegraph
Expected Behavior
Both render in the same time
Actual Behavior
styled-components is about 25% slower
Suggestion
Performance overhead is documented or explained somewhere that is obvious.
There is an impression that the styling happens for free or 'magically', when it really adds a notable runtime overhead.
This is most obvious in long lists of items.
Many people use this package in React Native and I've worked on a few apps that have faced performance issues related to it.
React Native is particularly sensitive when it comes to performance, so I think this should be explained somewhere upfront in a 'caveats' section.
Metadata
Metadata
Assignees
Labels
No labels