From 76bf848ba160fcd0c0b9e7c28e2fa378e7b9506c Mon Sep 17 00:00:00 2001 From: Nikita Date: Wed, 1 Feb 2017 12:45:09 +0200 Subject: [PATCH] Fix react warning on bind Warning: bind(): You are binding a component method to the component. React does this for you automatically in a high-performance way, so you can safely remove this call. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 30dc40e..88edeff 100755 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ export default class App extends React.Component{ render(){ return (
- Open Modal + Open Modal + onClose={this.close}> - X + X
hey