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

feat(Flag|Icon): use PureComponent instead of shallowEqual() #2842

Merged
merged 1 commit into from
May 26, 2018

Conversation

layershifter
Copy link
Member

Refs #2747.

This PR will also improve code coverage 👍

@levithomason levithomason mentioned this pull request May 26, 2018
5 tasks
@codecov-io
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (react-16@88c94d4). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##             react-16    #2842   +/-   ##
===========================================
  Coverage            ?   99.78%           
===========================================
  Files               ?      160           
  Lines               ?     2775           
  Branches            ?        0           
===========================================
  Hits                ?     2769           
  Misses              ?        6           
  Partials            ?        0
Impacted Files Coverage Δ
src/elements/Flag/Flag.js 100% <ø> (ø)
src/elements/Icon/Icon.js 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 88c94d4...791aaeb. Read the comment docs.

@layershifter layershifter merged commit 762618a into react-16 May 26, 2018
@layershifter layershifter deleted the chore/pure-16 branch May 26, 2018 05:27
layershifter added a commit that referenced this pull request Jun 29, 2018
* breaking(Portal): use createPortal() API (#2755)

* breaking(Portal): use createPortal() API

* test(Portal): rewrite tests

* test(Portal): rewrite tests

* fix(Portal): mixed fixes in tests

* fix(Portal): fix path of typings

* feat(Flag|Icon): use PureComponent instead of shallowEqual() (#2842)

* fix(IconSearch): remove prop

* fix(PortalInner): remove meta

* fix(Portal): fix broken test

* fix(Modal): go away from rootNode

* fix(Flag|Icon): remove unused import

* feat(Portal): add `triggerRef` prop (#2902)

* feat(Portal): add `triggerRef` prop

* test(Portal): add test for `triggerRef` prop

* fix(Popup): fix test

* BREAKING(Accordion): refactor shorthand API to use AccordionPanel (#2904)

* refactor(Accordion): simplify render with AccordionPanel

* style(Accordion): add description

* fix(tests): reenable throw on console.log()

* style(mixed): lint issues in typings

* fix yarn.lock

* fix(ComponentDocLinks): add rel="noopener noreferrer"

* revert styling changes

* restore yarn.lock from master

* style(Portal): remove render method
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants