The Purpose of this repository is to show usage styled-components in react app and compare it to standard css approach.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Styling React app with styled components.

This repository is an addition to an article. It shows common usage of styled-components in React app. You can compare styled components (Styled-Components-React) with standard css approach (Standard-Css-React).

live example

At the time of publication, the enzyme does not keep up with the versions of styled components. If you want now to use the latest version of styled components, you have to compromise when it comes to writing tests i.e. use more than one approach.