Nirdesh pokharelblog.nirdeshpokhrel.com.np·Oct 31, 2023Nextjs : (window is not defined) react-apexchartsApex Charts tries to access the window object without checking it is available first, so it does not work in server contexts.The workaround is to ensure the library is only used in a browser context. In NextJS, the usual method of ensuring a module o...492 readsNext.jsAdd a thoughtful commentNo comments yetBe the first to start the conversation.