This might be a very silly question, but I wanted to make sure that I am not doing anything wrong.
I am using SLDS to design all my components and has been using js to add necessary classes to perform required action. For example, I had to add
slds-is-open class to open a menu item etc.
Is that the right behaviour or the elements should automatically include required class, similar to bootstrap.