
11 月 2 日 · 8 分钟

本期节目主要以 next.js 的 Server component 和 Server action 为主题聊了一些 @AnnatarHe 自己的看法。
总得来说,next.js 这波做得有点儿过了,但是也是发展的大方向。嘲笑之余,还是得学学。
主播
AnnatarHe: https://annatarhe.com
Timeline
next.js 与 use php
React 最近最大的变化是 Server Component
前端多年来的进化 - 复杂是不可避免的
之前的 SSR 只是为了 SEO, 新的 Server Component 并不一样
更为极端的 Server Action 也来了
Server Action 在嘲笑之余,是有很严肃的场景 —— 长期看好
只是目前的版本大概还略带搞笑 —— 安全的代码很难写,学习曲线更为陡峭
next.js 的 bug 率可能比我的还高。
自己的项目升级了 14,不出所料地挂了
大部分工具库并不支持完整版的 Server Component —— Steaming
相关链接
React Server Component: https://react.dev/blog/2023/03/22/react-labs-what-we-have-been-working-on-march-2023#react-server-components
Nextjs-use-php: https://github.com/bufferhead-code/nextjs-use-php
Experimental streaming without prefetching in Next.js: https://tanstack.com/query/v5/docs/react/guides/advanced-ssr#experimental-streaming-without-prefetching-in-nextjs
勘误
use-shell 在 twitter 上看到的,没能找到当初的链接,请各位自行脑补
BGM by Otologic
说明里标出的时间点,点一下跳过去

11 月 2 日 · 8 分钟

10 月 26 日 · 6 分钟

10 月 16 日 · 12 分钟

10 月 8 日 · 6 分钟

AsyncTalk · 2023 年 11 月 12 日 · 15 分钟
本期节目主要以 next.js 的 Server component 和 Server action 为主题聊了一些 @AnnatarHe 自己的看法。
总得来说,next.js 这波做得有点儿过了,但是也是发展的大方向。嘲笑之余,还是得学学。
主播
AnnatarHe: https://annatarhe.com
Timeline
next.js 与 use php
React 最近最大的变化是 Server Component
前端多年来的进化 - 复杂是不可避免的
之前的 SSR 只是为了 SEO, 新的 Server Component 并不一样
更为极端的 Server Action 也来了
Server Action 在嘲笑之余,是有很严肃的场景 —— 长期看好
只是目前的版本大概还略带搞笑 —— 安全的代码很难写,学习曲线更为陡峭
next.js 的 bug 率可能比我的还高。
自己的项目升级了 14,不出所料地挂了
大部分工具库并不支持完整版的 Server Component —— Steaming
相关链接
React Server Component: https://react.dev/blog/2023/03/22/react-labs-what-we-have-been-working-on-march-2023#react-server-components
Nextjs-use-php: https://github.com/bufferhead-code/nextjs-use-php
Experimental streaming without prefetching in Next.js: https://tanstack.com/query/v5/docs/react/guides/advanced-ssr#experimental-streaming-without-prefetching-in-nextjs
勘误
use-shell 在 twitter 上看到的,没能找到当初的链接,请各位自行脑补
BGM by Otologic
说明里标出的时间点,点一下跳过去

http://www.ximalaya.com/album/53875103.xml复制内容版权归创作者,声湃按创作者开放的 RSS 收录。了解收录与 RSS →

11 月 2 日 · 8 分钟

10 月 26 日 · 6 分钟

10 月 16 日 · 12 分钟