Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace styled-components with emotion #231

Closed
wants to merge 4 commits into from

Conversation

phyrog
Copy link
Contributor

@phyrog phyrog commented Dec 2, 2017

Closes #224

We need to choose if we want to use emotion with or without the babel plugin.

Not using the plugin is less complicated, but also lacks some features. Using the plugin requires us to either eject or use react-app-rewired, which makes the updating packages potentially more error-prone (esp. updates to babel and react-scripts).

This branch contains both options (the first two commits use the plugin + react-app-rewired) and after that I removed the plugin (because I then learned that the plugin is optional 🙄 ).

Personally I would go without the babel plugin for now and if we need or want it later on (or if we need react-app-rewired at some point for something else) we can add it relatively easily

@codecov
Copy link

codecov bot commented Dec 2, 2017

Codecov Report

Merging #231 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #231   +/-   ##
=======================================
  Coverage   96.15%   96.15%           
=======================================
  Files          11       11           
  Lines         156      156           
  Branches       22       22           
=======================================
  Hits          150      150           
  Misses          5        5           
  Partials        1        1
Impacted Files Coverage Δ
src/components/GlobalMenu.js 100% <ø> (ø) ⬆️
src/components/VersionWarning.js 100% <ø> (ø) ⬆️
src/scenes/Home/components/Item.js 100% <100%> (ø) ⬆️
src/components/Header.js 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 979006c...53b5db6. Read the comment docs.

@phyrog phyrog added the question label Dec 2, 2017
@phyrog
Copy link
Contributor Author

phyrog commented Dec 6, 2017

Superseeded by #236.

@phyrog phyrog closed this Dec 6, 2017
@phyrog phyrog removed the in progress label Dec 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant