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...1 min read·jeffmuc.hashnode.devOct 7, 2021