Closed perezcato closed 4 years ago
Hi @perezcato How are you consuming React Speech Recognition? The library does use class properties, but the published package is compiled to ES5. Are you somehow consuming the raw source file?
You would see a Babel error like Support for the experimental syntax 'classProperties' isn't currently enabled
if you were trying to compile a file with class properties without enabling the correct Babel plugin. But given the package is already compiled for you, this shouldn't be an issue for you as a consumer.
Support for class properties is disabled in the library