Javascript & React – How to avoid the "if hell" without using dictionary/objects?
I know this question has been asked before, but the usual answers bring another (potential) problem and doubts to my mind. The context I've got a function that returns what component has to be rendered depending on two parameters, paramA…