Should I use twitter bootstrap or javascript to hide a div?
I am using reactJS and I would like to hide a div on smaller screen (width<768px). I have two options here: First Method: { !!isSmallerScreen ? <div className="icon">Icon</div> : <div className="name">Name</div> } Description: isSmallScreen is a boolean variable. This way…