From 47f575171fd0f80866d5fd81e78c38b7bb529400 Mon Sep 17 00:00:00 2001 From: Sanjay krishna anbalagan Date: Mon, 29 Jan 2018 06:02:03 -0500 Subject: [PATCH] debouncing componentWillRecieveprops causing props and nextprops to return same value --- src/Codemirror.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Codemirror.js b/src/Codemirror.js index b372f96..e5e2b4e 100644 --- a/src/Codemirror.js +++ b/src/Codemirror.js @@ -41,7 +41,6 @@ const CodeMirror = createReactClass({ }; }, componentWillMount () { - this.componentWillReceiveProps = debounce(this.componentWillReceiveProps, 0); if (this.props.path) { console.error('Warning: react-codemirror: the `path` prop has been changed to `name`'); }