Reactjs – NextJS 13 – window and localStorage undefined inside client component
I am writing a simple React CRUD app, using NextJS 13 and its app router. I have a route, in which page.tsx is a client component. page.tsx 'use client' import DataGrid from './DataGrid' const List = (props) => ( <DataGrid>...</DataGrid>…