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

Add missing prop validation for React.memo #2059

Closed
kazah96 opened this issue Nov 28, 2018 · 1 comment · Fixed by #2089
Closed

Add missing prop validation for React.memo #2059

kazah96 opened this issue Nov 28, 2018 · 1 comment · Fixed by #2089

Comments

@kazah96
Copy link

kazah96 commented Nov 28, 2018

Currently doesnt show anything

import React from 'react';

const HeaderBalance = React.memo(({ cryptoCurrency }) => (
  <div className="header-balance">
    <div className="header-balance__balance">
      BTC
      {cryptoCurrency}
    </div>
  </div>
));

export default HeaderBalance;
@alexzherdev
Copy link
Contributor

This looks similar to #1841 - could probably be done as one fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

3 participants