CodeLifeOrg / codelife

A learning tool and code editor
 designed for Brazilian students, free and open to all
https://en.codelife.com/
GNU Affero General Public License v3.0
15 stars 11 forks source link

Fix "refs" for CodeEditor #176

Open jhmullen opened 7 years ago

jhmullen commented 7 years ago

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

alexandersimoes commented 5 years ago

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.