You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if this should be a Preflight check or an ESLint rule (opened upleveled/eslint-plugin-upleveled#36 and upleveled/eslint-plugin-upleveled#35 in the ESLint plugin too), but detecting infinite loops in student code would be really nice, especially when students get into using useEffect in React.
upleveled/eslint-plugin-upleveled#35 will help with warning about using useEffect without a dependency array, but there are other forms of infinite loops.
Not sure if this should be a Preflight check or an ESLint rule (opened upleveled/eslint-plugin-upleveled#36 and upleveled/eslint-plugin-upleveled#35 in the ESLint plugin too), but detecting infinite loops in student code would be really nice, especially when students get into using
useEffect
in React.upleveled/eslint-plugin-upleveled#35 will help with warning about using
useEffect
without a dependency array, but there are other forms of infinite loops.Some general ideas for infinite loop detection:
The text was updated successfully, but these errors were encountered: