(评论)
(comments)

原始链接: https://news.ycombinator.com/item?id=43444999

Hacker News 的帖子讨论了 Svelte 5 的新特性:允许覆盖 `$derived` 变量。一个用户询问了将大型生产代码库迁移到 Svelte 5 的开发人员体验。另一个用户则用一个简单的乐观 UI 示例展示了这个新特性的用法,并想知道 Solid.js 作者对此的看法。一个不熟悉 Svelte 5 的用户询问了这个更改的意义,另一个用户则链接到一个 GitHub issue 评论以提供上下文。该帖子还包含了 AI Startup School 的广告。

相关文章
  • Svelte:$derived 现在可以被覆盖了 2025-03-26
  • (评论) 2025-03-20
  • (评论) 2025-03-23
  • (评论) 2025-03-21
  • (评论) 2025-03-21

  • 原文
    Hacker News new | past | comments | ask | show | jobs | submit login
    Svelte: $derived can now be overwritten (github.com/sveltejs)
    7 points by jedeusus 1 hour ago | hide | past | favorite | 4 comments










    People who have migrated a large enough production codebase to Svelte 5, what's your devex like?


    Wow, the optimistic UI example is so simple: https://svelte.dev/docs/svelte/$derived#Overriding-derived-v...

    I wonder what Ryan Carniato, the author of Solid, thinks of it.



    As someone who has not used Svelte 5: What is the significance of his change?








    Join us for AI Startup School this June 16-17 in San Francisco!


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



    Search:
    联系我们 contact @ memedata.com