socketio/socket.io

View on GitHub
examples/create-react-app-example/src/App.js

Summary

Maintainability
A
1 hr
Test Coverage

Function App has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function App() {
  const [isConnected, setIsConnected] = useState(socket.connected);
  const [lastMessage, setLastMessage] = useState(null);

  useEffect(() => {
Severity: Minor
Found in examples/create-react-app-example/src/App.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status