code healthgood first issue
Repository metrics
- Stars
- (3,248 stars)
- PR merge metrics
- (PR metrics pending)
Description
styled-components v4 was just announced, and it looks really good:
- 25% faster on mount
- really good new APIs like the new global styles, and
as refsupport- faster
styled() - a bunch more
It's still in beta, but I think we should try upgrading. It seems like it'd be a huge improvement.
Some things that will need to be updated:
- We use
injectGlobalin a few places, needs to switch to the new global API - use
refinstead ofinnerRefin a few places - use
styled()instead of.extend - For the
Headingcomponent, we can use the newasprop, instead ofwithComponent
This would be a great first issue for new contributors :) would give you a tour of the React codebase, without being too hairy.