`useEffect(() *=>* {` `const el *=* ref...
# helpdesk
g
useEffect(() *=>* {
const el *=* ref*.*_current_;
*if* (*!*el) {
*return*;
}
el*.*_muted_
*=* true;
track*?.*attach(el); // call the attach..
*return* () *=>* {
track*?.*detach(el);
};
}, [track, ref]);
*return* <video _ref_*=*{ref} />;