TheMagoo73/flagsmith-react

View on GitHub
src/use-event-emitter.js

Summary

Maintainability
A
1 hr
Test Coverage

Function useEventEmitter has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function useEventEmitter() {
  const ref = useRef();
  if (!ref.current) {
    ref.current = {
      subscriptions: new Set(),
Severity: Minor
Found in src/use-event-emitter.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status