The Two Reacts
UI = f(data)(state)
今日新增 424 篇 · 共 7,472 篇 · 来自 241 个博客
UI = f(data)(state)
AI 摘要The author reflects that while 2023 was a significant year for Rust, much of it laid groundwork for 2024, and announces a series of blog posts about their goals for the coming year. Framed around proposed project goals to make them concrete, the first post focuses on what the author hopes to see for async Rust in 2024.
AI 摘要The January 2024 Svelte update highlights the release of SvelteKit 2.0, which brings features like shallow routing, fine-grained search param invalidation, and a smooth migration via the svelte-migrate command. Meanwhile, the Svelte 5 preview introduced new capabilities such as the $inspect rune, nested reactivity by default with proxied $state, the unstate function, and the $state.frozen rune. The post also rounds out with a community showcase of apps, learning resources, and libraries built with Svelte.
AI 摘要The author reflects on 2023 as a difficult year marked by bigotry, war, and loss, while also expressing gratitude for personal highlights such as the release of their book, You Deserve a Tech Union. They mention moving from Twitter to Mastodon, writing more on their own site, and rediscovering the joy of reading as their eyesight healed after a medical diagnosis. The post ends with hopes that 2024 will bring more fulfilling people, projects, and good days.
An expanded charter, lots of writing and speaking, and finally learning to snowboard.
AI 摘要Vue 3.4 'Slam Dunk' has been released, featuring a completely rewritten template parser that is twice as fast and a refactored reactivity system that makes effect triggering more accurate and efficient. The release also stabilizes the defineModel macro, introduces a same-name shorthand for v-bind, and improves hydration mismatch error messages. Additionally, several deprecated features have been removed, including the global JSX namespace and the experimental Reactivity Transform.
Creating a subtle, peripheral, and synchronous sense of shared space and context on the web
Sending helpful & engaging pushes, filtering annoying pushes, and finding the frequency sweet spot.
Elixir v1.16 released with compiler diagnostics and extensive documentation.
AI 摘要The article presents a series of entrepreneurial and leadership lessons, noting that optimism, self-belief, and personal connections start ventures while cohesive teams and committed execution finish them. It advises concentrating resources on a few high-conviction bets, recruiting high-potential people, iterating quickly, fighting bureaucracy, and planning in decades while executing in weeks. It concludes that inaction is a hidden risk, compounding advantages are powerful, and working with great people is one of life's best parts.
We just released the first development preview of Catalyst, our new fully-componentized, batteries-included application UI kit for React.
The story of how Epic Web came to be
A review of what happened in the life of Kent C. Dodds in 2023
There’s nothing like building a major new product for finding all the features you wish you had in your own tools, so we capitalized on that inspiration and turned it into this — Tailwind CSS v3.4.
AI 摘要The article introduces 'eigensolutions'—general solutions that address multiple seemingly unrelated use cases—as the antidote to overfitting, a hallmark of poor design in creator tools where overly specific solutions fail to generalize. It argues that designing such solutions requires a mindset shift from linear design to composability, breaking features into smaller, reusable primitives. Layering high-level shortcuts on top of these primitives, as illustrated by Coda's table filtering, can both reduce the floor and raise the ceiling, making common things easy while keeping complex things possible.
We just released Heroicons v2.1 which includes a brand new micro style — a full set of almost three hundred 16×16 icons designed for tighter, higher density UIs.
Giving people a visible, useful trail of where they've been over the course of an exploratory journey
AI 摘要The article describes the author's consulting experience on fish counting at large hydroelectric dams, where operators must comply with FERC regulations by demonstrating that their operations do not harm endangered fish populations, especially Pacific Northwest salmonids. Traditionally, fish counts are performed manually by trained observers—a physically demanding, error-prone process—prompting organizations to explore computer vision and human-in-the-loop machine learning systems to automate species identification and counting. Building such systems in a highly regulated industry involves negotiating the problem space, setting accuracy-based performance goals with stakeholders, and producing labeled training data, making fish counting a compelling example of a complex sociotechnical problem.
AI 摘要The article discusses SIEVE, a remarkably simple yet highly effective cache eviction algorithm (to appear at NSDI'24) that improves on FIFO by adding a single 'visited' bit and a eviction hand, outperforming nine state-of-the-art algorithms on many real-world traces. The author speculates that SIEVE went undiscovered for decades because it lacks scan resistance, which matters for block and file workloads that mix random accesses with large sequential scans. To address this, the author proposes SIEVE-k, a variant using small saturating counters instead of a bit, which performs well against synthetic scan workloads but shows only mixed results on real-world traces, suggesting it is not a clear overall win over SIEVE.