Next.js gotcha using body class name
the 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, 20211 min read69