How can i access localstorage in nextjs 14 pages router?
Unanswered
Yacare Caiman posted this in #help-forum
Yacare CaimanOP
i want to make a todo app using redux toolkit. I can't acces localstorage so how can i do this suggest me
3 Replies
American black bear
nah bro, why you wanna do todo app with nextjs, and that too with redux toolkit
To answer your question, you can check this out: https://redux.js.org/usage/nextjs
@Yacare Caiman i want to make a todo app using redux toolkit. I can't acces localstorage so how can i do this suggest me
https://nextjs-faq.com/browser-api-client-component
you can access localStorage in a client component and use
you can access localStorage in a client component and use
next/dymaic with ssr disable to import the client