Common-voice: Replace getElementById/querySelector with React refs

Created on 23 Oct 2017  路  1Comment  路  Source: mozilla/common-voice

There are a couple of components that use document.getElementById and document.querySelector:
https://github.com/mozilla/voice-web/search?utf8=%E2%9C%93&q=document.getelementbyid&type=

Replace those with React's ref so it's more React-idiomatic.

help wanted

Most helpful comment

I would like to work on this issue :-) I'll submit a PR most likely by this Sunday with these improvements.

>All comments

I would like to work on this issue :-) I'll submit a PR most likely by this Sunday with these improvements.

Was this page helpful?
0 / 5 - 0 ratings