Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add warning for non styled components #2070
A couple things:
we only want this to happen in development because it’s a hot path, so needs a
process.env.NODE_ENV !== “production”wrapper
this should be a warning not an error imo. An error implies a fatal problem, where this will just produce invalid css.
Thank you so much for helping us improve styled-components! Based on our Community Guidelines every person that has a PR of any kind merged is offered an invitation to the styled-components organization—that is you right now!
Should you accept, you'll get write access to the main repository. (and a fancy