react-wavesurfer
react-wavesurfer copied to clipboard
fix: update example using es class fields
https://babeljs.io/docs/plugins/transform-class-properties/ (included in CRA) https://medium.freecodecamp.org/functional-setstate-is-the-future-of-react-374f30401b6b