codelife icon indicating copy to clipboard operation
codelife copied to clipboard

Fix "refs" for CodeEditor

Open jhmullen opened this issue 8 years ago • 1 comments

CodeEditor's iframe uses the deprecated this.refs for reference. Update this to use proper mapping.

jhmullen avatar Sep 21 '17 14:09 jhmullen

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.

alexandersimoes avatar Sep 19 '19 16:09 alexandersimoes