codelife
codelife copied to clipboard
Fix "refs" for CodeEditor
CodeEditor's iframe uses the deprecated this.refs for reference. Update this to use proper mapping.
This was a "nice to have" but not required. As a further explanation, React uses the ref prop as a means to access the underlying HTML node. It was not deprecated by the API has since changed in laters versions of React.
Updating Canon would potentially require the developer to address this issue, but in the current version of the source code, this is not a problem.