Skip to content
This repository was archived by the owner on Apr 30, 2021. It is now read-only.

Conversation

@MiroslavPetrik
Copy link
Contributor

By exporting the components, we can take advantage of the powerful tree-shaking feature which will omit the unused parts of code -- making the overall app size even smaller.

Also the components are now named, because the displayName component property can be inferred from the const expression, but not from the static class member. (as seen in the changed snapshots :))

By exporting the components, we can take advantage of the powerful tree-shaking feature which will omit the unused parts of code -- making the overall app size even smaller.

Also the components are now named, because the `displayName` component property can be inferred from the `const` expression, but not from the `static` class member. (as seen in the changed snapshots :))
@codecov
Copy link

codecov bot commented Feb 7, 2019

Codecov Report

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

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #126   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           1      1           
  Lines          34     33    -1     
=====================================
- Hits           34     33    -1
Impacted Files Coverage Δ
src/index.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 0020ee1...ee950c7. Read the comment docs.

@ooade
Copy link
Owner

ooade commented Feb 7, 2019

Looks good to me. Thanks 👍

@ooade ooade merged commit e4815f2 into ooade:master Feb 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants