100mslive/100ms-web

refactor: deeply nested ternaries and if else statements

rvermootenct opened this issue · 0 comments

The app is littered with deeply nested ternaries and if else statements. Both are super tough to reason about and it feels like when reading the code that new features are just being added to a never ending list of if else statements mixed with deeply nested ternaries.. I would suggest that no-nested-ternary is added to your eslint rules at the very least to stop this from continuing.