next-react-server-components icon indicating copy to clipboard operation
next-react-server-components copied to clipboard

Server components are broken with Next v.12.2.1

Open neatbyte-vnobis opened this issue 1 year ago • 2 comments

Steps to Reproduce:

  1. Clone the repository
  2. Run locally
  3. Go to /slow or /rsc
  4. Pages won`t render (infinite loading)

Fix: After downgrading to Next v.12.1.* (currently 12.1.6) everything works as expected

Updated package.json:

{
  "scripts": {
    "dev": "yarn next dev",
    "build": "yarn next build",
    "start": "yarn next start"
  },
  "dependencies": {
    "ms": "2.1.3",
    "next": "12.1.*",
    "react": "^18.1.0",
    "react-dom": "^18.1.0"
  }
}

neatbyte-vnobis avatar Aug 30 '22 13:08 neatbyte-vnobis

I'm having the same issue with Next 12.2.1

minhchu avatar Sep 07 '22 11:09 minhchu

Hey folks! I would recommend not using this just yet while we work on moving toward the Layouts RFC, which uses Server Components by default.

leerob avatar Sep 08 '22 03:09 leerob