AsyncTalk
AsyncTalk
AsyncTalk
EP28 这次咱肯定全栈了 - React Server Component
18 minutes Posted Aug 24, 2023 at 6:34 pm.
Server Component 是 React 又一个巨大 feature00:50 从后端主导的 web framework 也许正在慢慢向前端倾斜03:10 Next.js 的 server component 实现大方向很棒,但是小缺点也不少04:40 缺点: 开发思维转换为 Node 模式06:10 缺点: use 指令过于魔法07:10 缺点: CSS in JS 寄了(目前)08:40 缺点: 框架设计可复杂了,比如路由09:40 缺点: Cache 有点儿糙。后端的 Cache 和前端是完全不同的思路11:50 缺点: Fetch 复杂且 HTTP handler 的设计思维不同14:00 JWT 又又又不行了. Make Cookie Great Again15:00 Debug 又不一样了,更更更困难了16:00 必须得学后端了,以及强推去学习 Ruby on Rails17:10 短期问题挺多,长期会把 Web 开发带向新的高度相关链接Routing Fundamentals Next.js: https://nextjs.org/docs/app/building-your-application/routing扩展阅读RSC From Scratch https://github.com/reactwg/server-components/discussions/5Everything I wish I knew before moving 50,000 lines of code to React Server Components https://www.mux.com/blog/what-are-react-server-componentsRuby on Rails: https://rubyonrails.org/BGM by Otologic
0:00
18:29
Download MP3
Show notes
React Server Component 是最近的大事。本期蹭一次热点,锐评 RSC 和 Next.js。做前端的朋友们,这次,必须得学后端了哦。本期内容比较追热点且较为主观。如果有任何想法或者意见也欢迎留言或者邮件交流: [email protected]主播AnnatarHe: https://annatarhe.comTimeline00:30 Server Component 是 React 又一个巨大 feature00:50 从后端主导的 web framework 也许正在慢慢向前端倾斜03:10 Next.js 的 server component 实现大方向很棒,但是小缺点也不少04:40 缺点: 开发思维转换为 Node 模式06:10 缺点: use 指令过于魔法07:10 缺点: CSS in JS 寄了(目前)08:40 缺点: 框架设计可复杂了,比如路由09:40 缺点: Cache 有点儿糙。后端的 Cache 和前端是完全不同的思路11:50 缺点: Fetch 复杂且 HTTP handler 的设计思维不同14:00 JWT 又又又不行了. Make Cookie Great Again15:00 Debug 又不一样了,更更更困难了16:00 必须得学后端了,以及强推去学习 Ruby on Rails17:10 短期问题挺多,长期会把 Web 开发带向新的高度相关链接Routing Fundamentals - Next.js: https://nextjs.org/docs/app/building-your-application/routing扩展阅读RSC From Scratch https://github.com/reactwg/server-components/discussions/5Everything I wish I knew before moving 50,000 lines of code to React Server Components https://www.mux.com/blog/what-are-react-server-componentsRuby on Rails: https://rubyonrails.org/BGM by Otologic