New answers tagged

1 vote

How to refactor switch statement with convoluted if chain within vuex module

Two places that you can simplify: After checking the connection ID there is nothing left for that code path to do, so you can return immediately and remove a level of nesting from the remainder of ...
user avatar

Top 50 recent answers are included