JavaScript, Computer Science, Algorithms, Data Structures, Learning.
everything was fine and well for a while… all of sudden the client started giving us conditions when these sidebars should be visible and in some cases the content of the sidebars needed to change based on certain input, because of initial imperative OOP approach this meant a lot of if ‘s, the