This repository contains a study project for the article "React Server Components: Do They Really Improve Performance?"
Install the dependencies:
npm installRun backend api as:
npm run start --workspace=backend-apiRun client-side fetching example as:
npm run [script-name] --workspace=client-fetch-frontendRun Next.js pages example as:
npm run [script-name] --workspace=next-pagesRun Next.js app router example as:
npm run [script-name] --workspace=next-app-routerWhere:
script-nameis the name of the script you want to run, i.e.,dev,build, orstart. You can find the available scripts in thepackage.jsonfile of each side project inside thesrcfolder.