AsyncTalk
AsyncTalk
AsyncTalk
EP30 Server Action 是有点儿搞笑,但前端得学
14 minutes Posted Nov 12, 2023 at 4:35 am.
next.js 与 use php01:05 React 最近最大的变化是 Server Component02:00 前端多年来的进化 复杂是不可避免的03:06 之前的 SSR 只是为了 SEO, 新的 Server Component 并不一样04:30 更为极端的 Server Action 也来了06:16 Server Action 在嘲笑之余,是有很严肃的场景 —— 长期看好08:10 只是目前的版本大概还略带搞笑 —— 安全的代码很难写,学习曲线更为陡峭09:50 next.js 的 bug 率可能比我的还高。10:30 自己的项目升级了 14,不出所料地挂了11:20 大部分工具库并不支持完整版的 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-componentsNextjs-use-php: https://github.com/bufferhead-code/nextjs-use-phpExperimental 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
0:00
14:56
Download MP3
Show notes
本期节目主要以 next.js 的 Server component 和 Server action 为主题聊了一些 @AnnatarHe 自己的看法。总得来说,next.js 这波做得有点儿过了,但是也是发展的大方向。嘲笑之余,还是得学学。主播AnnatarHe: https://annatarhe.comTimeline00:18 next.js 与 use php01:05 React 最近最大的变化是 Server Component02:00 前端多年来的进化 - 复杂是不可避免的03:06 之前的 SSR 只是为了 SEO, 新的 Server Component 并不一样04:30 更为极端的 Server Action 也来了06:16 Server Action 在嘲笑之余,是有很严肃的场景 —— 长期看好08:10 只是目前的版本大概还略带搞笑 —— 安全的代码很难写,学习曲线更为陡峭09:50 next.js 的 bug 率可能比我的还高。10:30 自己的项目升级了 14,不出所料地挂了11:20 大部分工具库并不支持完整版的 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-componentsNextjs-use-php: https://github.com/bufferhead-code/nextjs-use-phpExperimental 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