Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
React 19 lets you write impossible components (mux.com)
44 points by mmcclure on May 16, 2024 | hide | past | favorite | 3 comments



Great article! I am currently working on a team where we help product teams adopt new technologies, and we are currently seriously looking at server components with Next.js. Server components offer a lot of advantages in terms of both composition patterns and performance. Server actions are a great way to encapsulate fetching behavior and offer a better pattern than using custom React hooks. Custom hooks, while useful violate basic software design principles because all consumers must depend on the implementation, not the interface of a hook, meaning you can't pass them in as properties and such.


Great post, got me excited to play with server components again


Server components feel line the reinvention of client-server architechture, except that it feels like a tangled mess to maintain, debug and understand.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: