great-pencil-7631
11/08/2022, 11:12 PMuseEffect(() *=>* {
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} />;