Components Are Dead; And Now for Something Completely Different
Wix's Jay framework replaces UI components with "regions": design-system templates are flattened into page-local HTML at coding time, while logic stays in shared headless components bound via fine-grained signals. The argument is that components suit human cognitive limits but force runtime work on slots, context and ref forwarding, whereas AI agents work best with single-file local context. Reactivity is kept without a virtual DOM through per-node update closures and phase-gated hydration. Drift between flattened copies and upstream templates is handled by a deterministic CLI that AST-diffs regions (validate) and re-flattens while preserving marked overrides (sync).
Related posts
- Hydrogen & Tailwind: The Perfect Match for Building Beautiful Storefronts
Shopify Engineering mediumAdeptTailwind's utility classes ship as the default styling option in Shopify's React-based Hydrogen storefront framework, and the case for them rests on componentization: styles live in reusable React components rather than semantically named classes like BEM-style product-card__title, so layouts can be copied or extracted (e.g. ProductCard to BlogCard) without renaming or duplicating CSS. Further arguments include enforced spacing and color constraints for visual consistency, copy-paste composability from libraries like Tailwind UI, easier team collaboration, and not having to name things. The tradeoff is a real learning curve that still requires CSS fundamentals, eased by good docs and the VSCode extension.
- Fluid layout customization with Splits
Replit mediumAdeptReplit's Workspace now supports Splits, a tiling layout where tabs, panes and files from the filetree can be dragged onto five hit areas of any pane (header to merge, or four conical-section quadrants to split), plus maximize and float modes. The design favours predictability, learnability and fluidity: explicit state visualization, a visible 50px detach radius, continuous resizing during drag, and few special cases, such as always placing auto-created webviews in the top-right node. To get fluid drag behaviour in React, the team used jotai to skip rerenders during drag state updates and wrote custom low-level mouse handlers instead of using a tiling library. Layout is stored as a multi-node tree of Splits and PaneGroups, which drives resize behaviour and simple placement heuristics.
- Design Patterns for Building Reusable Svelte Components
Render mediumAdept
Reusable Svelte components benefit from four patterns, illustrated with the open-source svelte-bar-chart-race library: component composition via slots, two-way binding, slot overrides, and communicating through TypeScript types. Splitting the library into a parent BarChartRace that shares state through the Context API and stores, plus composable Chart and Slider children, gives consumers control over layout instead of a single component with many object props. Slot props via let: expose state and setters, default slots act as override escape hatches, and typed stores, typed context and SvelteComponentTyped definitions (auto-generated by svelte-kit package via svelte2tsx, or hand-written) improve correctness and IDE support.
- Styling Linear for the future with StyleX
Linear mediumAdept
Linear migrated its React apps from styled-components to Meta's StyleX over more than 1,000 PRs. It moved style generation to build time and made styling contracts between components explicit and enforced. The work combined a deterministic codemod, narrowly scoped coding agents and manual review, starting with leaf components while both systems coexisted. Oxlint rules and a type-aware cross-file checker enforce `sx` prop propagation, merge precedence and design tokens, with CSS Modules kept as an escape hatch. Runtime-generated LCH themes were kept by injecting StyleX's hashed variable names per ThemeProvider, and removing runtime style injection cut main-thread CPU work by roughly 20–35% on view-heavy pages.
- Zed Weekly: #25
Zed mediumAdeptZed is rewriting its UI framework as GPUI 2 and porting the whole editor onto it before open-sourcing, trading feature work for better ergonomics while keeping GPUI 1's performance. All state lives in an AppContext that acts like an application-specific heap: Model<T> handles are dereferenced through a context, and models emit and subscribe to events. View<T> wraps models whose types implement a Render trait that returns element trees. Components, Tailwind-style styling helpers, a color-scale-based theme system and a new layout engine and executor round out the design. Bottleneck crates (project, workspace, editor) made the port largely serial, so the team leaned on Rust's type system and Zed's collaborative editing to pair on it, with roughly a third to half of the app ported after two weeks.