warning when I use reactive props in event handlers:
This function should be passed to a tracked scope (like createEffect) or an event handler because it contains reactivity, or else changes will be ignored.
createEffect(() => { const wS = waveSurfer(); if (wS) { wS.on('play', () => { if (props.currentArticle) trackStartPlayback(props.currentArticle); }
createEffect(() => { const wS = waveSurfer(); if (wS) { wS.on('play', () => { if (props.currentArticle) trackStartPlayback(props.currentArticle); }