Think i18next. An easy way to switch 'active' and 'inactive' states for which tab you have selected, etc.