文件名称:next-server-components:带有Next.js的React Server组件的实验演示。 在Vercel上无服务器部署
文件大小:154KB
文件格式:ZIP
更新时间:2024-02-26 13:32:02
react serverless nextjs vercel react-server-components
Next.js中的React Server组件 基于带有Next.js的React Server Components的实验应用程序。 还没有准备好被采用。 在您的项目中使用此工具需要您自担风险。 发展历程 准备 您需要以下环境变量来运行此应用程序(可以创建.env文件): REDIS_URL='rediss://:<password>@<url>:<port>' // or `redis://` if no TLS\nENDPOINT='http://localhost:3000' // need to be absolute url to run in prod/
【文件预览】:
next-server-components-master
----pages()
--------_app.js(2KB)
--------api()
--------index.js(66B)
----public()
--------chevron-up.svg(203B)
--------logo.svg(366B)
--------favicon.ico(15KB)
--------og.png(45KB)
--------chevron-down.svg(203B)
--------checkmark.svg(228B)
--------cross.svg(207B)
--------x.svg(299B)
--------menu.svg(346B)
----yarn.lock(200KB)
----next.config.js(983B)
----.prettierignore(123B)
----scripts()
--------client-react-loader.js(352B)
--------build.js(1KB)
----components()
--------NoteEditor.client.js(5KB)
--------App.server.js(2KB)
--------Note.server.js(2KB)
--------Cache.client.js(581B)
--------SidebarNote.client.js(2KB)
--------Spinner.js(444B)
--------EditButton.client.js(1KB)
--------NoteList.server.js(749B)
--------AuthButton.server.js(519B)
--------NotePreview.js(228B)
--------NoteSkeleton.js(2KB)
--------Root.client.js(906B)
--------NoteListSkeleton.js(682B)
--------SearchField.client.js(969B)
--------SidebarNote.js(1019B)
--------TextWithMarkdown.js(794B)
--------LocationContext.client.js(169B)
----LICENSE(1KB)
----README.md(3KB)
----libs()
--------session.js(224B)
--------send-res.js(1KB)
--------send-res-with-module-map.js(155B)
--------redis.js(80B)
----.gitignore(123B)
----style.css(16KB)
----package.json(1KB)