Next.js gotcha using body class namethe code I was trying to reuse was adding a class "filtering" to document body with the logic that a filter box appears when this class is set function openFilters() { document.body.classList.add('filtering'); the problem I encountered resulted f...Oct 7, 2021 · 1 min readjeffmuc.hashnode.dev