Error Typeerror: (0, _Useisomorphiclayouteffect. useIsomorphicLayoutEffect) Is Not a Function [Closed]

On configuring Redux with Next.js am getting this err following is my package.json versions "@reduxjs/toolkit": "^1.9.5", "next": "13.4.7", "react": "18.2.0", "react-dom": "18.2.0", "react-redux": "^8.1.1", "redux": "^4.2.1"

tried to start next.js server locally by npm run dev . But UI showing err error TypeError: (0 , _useIsomorphicLayoutEffect.useIsomorphicLayoutEffect) is not a function

You are likely trying to use a component (Provider) or hook that can only be used in a client component in a server component.

You can read up on that in the Next.js docs

2
Marcus Vance

Marcus Vance

Cybersecurity & Digital Privacy Researcher

Marcus Vance is a cybersecurity auditor and technology writer dedicated to educating the public about online safety, data privacy regulations, enterprise security, and emerging cyber threats.

Share this article
Twitter Facebook Pinterest