Closed ivankravets closed 7 years ago
@ivankravets @as-cii is in the process hot-fixing 1.14 and 1.15 with https://github.com/atom/atom/pull/13887 to ignore the ref
parameter and resolve this. We decided to stop removing the ref
parameter from properties to avoid the overhead of creating a new object.
[Enter steps to reproduce:]
... render() { return <TextEditor ref='filterEditor' mini={ true } /> } ...
At /Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:437
TypeError: Invalid TextEditor parameter: 'ref' at TextEditor.module.exports.TextEditor.update (/app.asar/src/text-editor.js:437:19) at updateComponent (xxxx/node_modules/etch/lib/patch.js:49:13) at patch (xxxx/node_modules/etch/lib/patch.js:13:19) at updateChildren (xxxx/node_modules/etch/lib/patch.js:72:7) at patch (xxxx/node_modules/etch/lib/patch.js:15:9) at updateSync (xxxx/node_modules/etch/lib/component-helpers.js:108:20) at Object.update (xxxx/node_modules/etch/lib/component-helpers.js:62:5)