Showing 1 of 1 total issue
Function useEventEmitter
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const useEventEmitter = () => {
const ref = useRef();
if (!ref.current) {
ref.current = {
subscriptions: new Set(),