मुख्य सामग्री पर जाएँ
ViewSocialअकाउंट खोजें
खाता रिपोर्टX प्रोफ़ाइल देखें

इस रिपोर्ट में 200 पोस्ट · 2 जन॰ 2023 — 26 नव॰ 2026 (UTC)

अनुयायी
—
सगाई दर —
औसत। प्रति पोस्ट दृश्य
80.1K
औसत दृश्य 38.1K
औसत। प्रति पोस्ट लाइक
525
लाइक रेट 0.656%
औसत। प्रति पोस्ट उत्तर
13.6
उत्तर दर 0.017%
औसत। प्रति पोस्ट दोबारा पोस्ट करें
32.5
रीपोस्ट दर 0.0406%
औसत। प्रति पोस्ट बुकमार्क
258
बुकमार्क दर 0.322%
एआई विश्लेषण

React and Next.js Framework Practices

विशिष्ट × 8.0

Statically typed links are coming to @nextjs:

◆ Autocompletion ◆ Error on invalid routes ◆ Prevents 404 links during build ◆ Dynamic, catch-all, and optional catch-all routes ◆ Works with both `pages` and `app` ◆ No extra configuration needed! https://t.co/E04vzfTxA1

@nextjs
वीडियो लोड हो रहा है…
279K1.88K46135
मूल पोस्ट देखें
विशिष्ट × 3.8

We migrated @v0’s codebase from ESLint + Prettier to Oxlint + Oxfmt by @oxcproject, CI is now 3x faster. Love the OSS ecosystem.

@v0@oxcproject
71.1K88918246
मूल पोस्ट देखें
विशिष्ट × 3.2

In case you didn’t know, React didn’t invent RSC, SSR, or Hydration, conceptually:

SSR is Express: app.get('/', (req, res) => { res.render('index', { name: 'John' }) }) RSC is Pug: if name == "Bob" button(class="btn") Hello Bob else button(class="btn") My name is #{name} Hydration is jQuery: $('.btn').click(...) That’s why there’s no window in SSR, and you can’t set onClick in RSC, and you have hydration errors in jQuery too (such as a typo of .btn) but with a less fancy name.

83K75542254
मूल पोस्ट देखें
विशिष्ट × 2.8

I’m redesigning my website on top of some exciting new things: Next.js App Router, Turbopack, CSS View Transitions, Tailwind CSS 4.0, MDX in RSC.

Will have it open sourced when it’s ready :) Interestingly Turbopack, Tailwind and MDX compilers are all backed by Rust now. https://t.co/5u9OhoeAYG

वीडियो लोड हो रहा है…
68.8K65418354
मूल पोस्ट देखें
विशिष्ट × 2.5

My React Server Components (RSC) mental model is basically:

They’re getServerSideProps / getStaticProps but more powerful. Things RSC / gSSP / gSP share in common: 🔸 You can’t pass things like normal functions from RSC / gSSP / gSP to the client, because they just can’t be serialized; 🔸 They must be executed before Client Components; 🔸 They don’t run in the browser; 🔸 They don’t have states, so no hooks; 🔸 They can both be executed and stored as static at build time (RSC / gSP), so they don’t require a server. Things that are more advanced in RSC compared to gSSP / gSP: 🔹 Server Components can pass elements and more to the client, instead of being limited to JSON values; 🔹 Server Components are able to define extra wrappers around Client Components, whereas gSSP / gSP can only affect components’ inner content; 🔹 You can have many Server Components and they will be more parallelized when executing, instead of only one giant gSSP / gSP blocking on the top; 🔹 Individual Server Component boundaries can be optimized as static if possible, instead of picking between fully dynamic (gSSP) and fully static (gSP) for all data; 🔹 Individual Server Component boundaries can be streamed to the browser and rendered earlier, unlike gSSP that must block the initial client rendering.

छवि पोस्ट करेंछवि लोड हो रही है…
128K57412521
मूल पोस्ट देखें
विशिष्ट × 2.1

A trick I use a lot: when inlining scoped* JS code as source string, do `(${() => { … }})()`.

- Compiled and minified on prod - TS allowed - Syntax highlight, auto format, type check, lint all work https://t.co/GP67FLp4Cz

छवि पोस्ट करेंछवि लोड हो रही है…
44.2K49913331
मूल पोस्ट देखें
विशिष्ट × 2.1

One small detail of UI SDK that we’ve put a lot of effort into, to make it more accessible:

A `findable` option to make native search (Ctrl/Cmd+F) work with virtualized lists. Works in both Safari and Chrome. https://t.co/X8QqHotlce https://t.co/FvtY03cAeq

वीडियो लोड हो रहा है…
37.5K49220172
मूल पोस्ट देखें
विशिष्ट × 1.9

𝑎𝑠𝑦𝑛𝑐 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛 𝐶𝑜𝑚𝑝({ 𝑖𝑑, 𝑐ℎ𝑖𝑙𝑑𝑟𝑒𝑛 }) { "𝑢𝑠𝑒 𝑐𝑎𝑐ℎ𝑒"

𝑐𝑜𝑛𝑠𝑡 𝑑𝑎𝑡𝑎 = 𝑎𝑤𝑎𝑖𝑡 𝑔𝑒𝑡𝑆𝑜𝑚𝑒𝐷𝑎𝑡𝑎(𝑖𝑑) 𝑟𝑒𝑡𝑢𝑟𝑛 <> <𝑑𝑖𝑣>{𝑑𝑎𝑡𝑎}</𝑑𝑖𝑣> {𝑐ℎ𝑖𝑙𝑑𝑟𝑒𝑛} </> } Changing children won’t break the cache.

154K44620123
मूल पोस्ट देखें
विशिष्ट × 1.3

Trying to visualize that Server-Side Rendering (SSR) isn't just about SEO, it actually makes the site faster. And why PPR is the goat.

Main cost = 🟥 JS load & Hydration 🟡⇆🔵 Region Latency https://t.co/XHctfcEIyc

छवि पोस्ट करेंछवि लोड हो रही है…
42.1K31311208
मूल पोस्ट देखें
विशिष्ट × 1.3

There are many mind-blowing ideas in RSC’s design, but one that still sticks with me is this:

Dynamism starts at reading the data, not getting the data. Does it sound obvious? What does this exactly mean in RSC’s design? First of all, it’s natural to think that all dynamism is introduced by IO operations, and almost all IO is asynchronous. Let’s exclude things like Date and Math.random from this discussion. 1. If a page component is sync, we can safely say that it is static and the result can be cached, because there’s no way to read the data (no `await`). This is the reason that Next.js has `params`, `searchParams`, `headers()`, `cookies()`, etc. as async APIs. 2. Sync doesn’t mean one can’t load the data. If we start loading something as a Promise, the result can still be cached until the moment it’s read (`await`ed). This is why it’s recommended to preload data in RSC and pass it down as a Promise (then `use()` inside). It allows the framework to pre-build and stream a static shell:

छवि पोस्ट करेंछवि लोड हो रही है…
23.6K3056183
मूल पोस्ट देखें
विशिष्ट × 1.2

Sometimes optimizations are chained and can be destroyed by single point of deopts, which is worse than no optimization at all. That’s also why they should be made by compilers. https://t.co/ziFENK3Jxm

छवि पोस्ट करेंछवि लोड हो रही है…
46.5K287741
मूल पोस्ट देखें
विशिष्ट × 1.1

One of those invisible details: accessibility isn’t only screen readers. it’s also “can someone in Tokyo type into your search box without it picking the wrong thing.”

@uisdk handles Input Method Editor (IME) input so keystroke/Enter/Escape/arrows don’t fire mid-word. https://t.co/gQdyiuNgeQ

@uisdk
वीडियो लोड हो रहा है…
उद्धृत पोस्ट खोलें
12.9K258899
मूल पोस्ट देखें
विशिष्ट × 1.1

And I’ll try to draw some diagrams to show how I visualize Server Actions in my head and how they work, as I saw some confusion around. There’re two ways of using Server Actions:

1. Define Server Actions in Server Components and pass them to Client Components via props... https://t.co/Y0szUzMe0K

वीडियो लोड हो रहा है…
95.2K2534123
मूल पोस्ट देखें
विशिष्ट × 0.9

True but worth noting that the only thing I dislike about this pattern is that it takes 2 render passes to SSR, which breaks the assumption of “hooks are stateless/no-ops on the server”.

That assumption can be very useful. On a server bundle build, the compiler can optimize useState/useMemo/useCallback/useRef calls to just inline values, remove useEffect, etc. for almost all hooks. That essentially eliminates the “ordered internal states” of hooks. And that “server” definition can be broader, anything without actually hydrating the app interactivity can be that “server”. For example a Playwright runtime used to only screenshot the initial render, or tools like Satori to statically render React components into image, etc.

उद्धृत पोस्ट खोलें
68.7K2195152
मूल पोस्ट देखें
विशिष्ट × 0.9

Just in case you weren’t aware, enabling the `experimental.typedRoutes` feature in @nextjs automatically checks for invalid links, along with support for rewrites and redirects! https://t.co/ABD6pj15QG

@nextjs
छवि पोस्ट करेंछवि लोड हो रही है…
58.9K208533
मूल पोस्ट देखें
विशिष्ट × 0.7

Why does it have to be compiler magic? Think about this React component (pseudo):

function UserSignup(email) { const step1 = useMemo(() => queueStep('createUser', email)) const user = use(resolveIfStepDone(step1)) const step2 = useMemo(() => queueStep('sendWelcomeEmail', email)) use(resolveIfStepDone(step2)) const step3 = useMemo(() => queueStep('sleep', '7 days')) use(resolvedIfStepDone(step3)) const step4 = useMemo(() => queueStep('sendCheckInEmail', email)) use(resolvedIfStepDone(step4)) return { userId: https://t.co/maDf9NO77K, status: 'done' } } queueStep → tells an external executor to schedule, run, retry, monitor the task and return an ID; resolvedIfStepDone → abort and schedule a “re-render” of workflow, or resolve to the result if that step ID is finished. Unlike regular React, all memorized values and scheduler states are managed and persisted externally. So `await sleep('7 days')` doesn’t actually keep the server waiting, but stops it and restarts it in 7 days. In general, directives (use server/client/cache/workflow/step/dom/…) are ways to declare/hoist compute boundaries that are scoped to re-runnable units with serializable inputs/outputs.

उद्धृत पोस्ट खोलें
49.7K1751197
मूल पोस्ट देखें
विशिष्ट × 0.7

Delivered some value last week! Next.js canary now automatically optimizes barrel file imports of popular libs (lucide-react, react-bootstrap, ant-design/icons, etc.).

A more advanced config is also available for your internal component system to use: https://t.co/1ytxyA5icz https://t.co/Bqj1VI6fXf

छवि पोस्ट करेंछवि लोड हो रही है…
38.1K172710
मूल पोस्ट देखें
विशिष्ट × 0.7

The Next.js TypeScript plugin is quite helpful. However, there is no way to enable a TS Language Server plugin by default in VS Code.

To avoid picking Workspace TS Version every time when opening a project, I made this extension to do it automatically: https://t.co/e1jKNcunlh

वीडियो लोड हो रहा है…
उद्धृत पोस्ट खोलें
40.7K1617130
मूल पोस्ट देखें
विशिष्ट × 0.7

𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛 𝐶𝑜𝑚𝑝({ 𝑖𝑑 }) { 𝑎𝑠𝑦𝑛𝑐 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛 𝑔𝑒𝑡𝑈𝑠𝑒𝑟𝐼𝑡𝑒𝑚𝑠(𝑖𝑛𝑑𝑒𝑥, 𝑙𝑖𝑚𝑖𝑡) { "𝑢𝑠𝑒 𝑐𝑎𝑐ℎ𝑒" 𝑟𝑒𝑡𝑢𝑟𝑛 𝑎𝑤𝑎𝑖𝑡 𝑑𝑏𝐺𝑒𝑡𝑈𝑠𝑒𝑟𝐼𝑡𝑒𝑚𝑠(𝑖𝑑, 𝑖𝑛𝑑𝑒𝑥, 𝑙𝑖𝑚𝑖𝑡) }

𝑟𝑒𝑡𝑢𝑟𝑛 <𝑈𝑠𝑒𝑟 𝑔𝑒𝑡𝐼𝑡𝑒𝑚𝑠={𝑔𝑒𝑡𝑈𝑠𝑒𝑟𝐼𝑡𝑒𝑚𝑠}/> } Here `id` will automatically become part of the cache key, and changing `id` will invalidate the cache even with same parameters. This is also why it can not be cache(fn) and has to be a compiler feature and be statically analyzable.

उद्धृत पोस्ट खोलें
53.6K159861
मूल पोस्ट देखें
विशिष्ट × 0.6

`require('./typescript.js')` takes 0.255s `require('./typescript.min.js')` takes 0.191s

That’s ~25% faster. Publish minified packages if you can. https://t.co/Etip5MISqW

छवि पोस्ट करेंछवि लोड हो रही है…
42.5K138713
मूल पोस्ट देखें
विशिष्ट × 0.6

RSC’s serialization protocol is what really shines, and it’s way beyond “component level data fetching”.

47.2K131934
मूल पोस्ट देखें
विशिष्ट × 0.5

Working on the next big release for https://t.co/xQt8aPeeNJ with @B2o5T:

1. Remote MDX 2. Dynamic routes 3. ISR &amp; on-demand ISR Imagine /v2/[…slug].mdx + fallback=blocking + CMS-backed content. Fast, dynamic, scalable. Pick 3.

@B2o5T
22.5K124910
मूल पोस्ट देखें
विशिष्ट × 0.5

Some folks have been curious about the additional inlined data in the rendered HTML when using Server Components (and getServerSideProps, too!).

Here's a simplified explanation I shared with a friend: https://t.co/chrn8CrpHL

छवि पोस्ट करेंछवि लोड हो रही है…
12.8K113346
मूल पोस्ट देखें
विशिष्ट × 0.4

Vercel Skew Protection, React Concurrent Rendering, CSS View Transitions,

Are same things: running multiple versions of your app at the same time. They’re on different levels, they’re all super useful, and they’re not that easy to build.

15.1K82219
मूल पोस्ट देखें
विशिष्ट × 0.3

The reason was, I saw this pattern of preloading resources:

let userPromise = loadUser() // other tasks.. try { let user = await userPromise // .. } catch { // handle user load failure } And this might be a footgun if the sync function throws before returning a promise: https://t.co/ZyK4SQFCKX

छवि पोस्ट करेंछवि लोड हो रही है…
उद्धृत पोस्ट खोलें
21.7K74549
मूल पोस्ट देखें
विशिष्ट × 0.3

Is there any reliable way to tell if a `fetch` was aborted because of the device being turned into sleep mode?

All the hacks I know use setInterval which delay the detection a bit and are not elegant…

27.5K62830
मूल पोस्ट देखें
विशिष्ट × 0.2

RSC payloads are flowing out like endless rain into a paper cup They slither wildly as they slip away across the universe

6.36K4844
मूल पोस्ट देखें
विशिष्ट × 0.2

Let’s say `f()` returns a promise:

async function a() { return f() } async function b() { return await f() } function c() { return f() }

54.2K471655
मूल पोस्ट देखें
विशिष्ट × 0.1

Need an “HTS” language compiler that turns:

type NoAny = &lt;X, Fallback&gt; =&gt; { if (X === any) return Fallback return X } Into: type NoAny&lt;X, Fallback&gt; = 0 extends (1 &amp; X) ? Fallback : X

9.44K2445
मूल पोस्ट देखें
पोस्ट
62
पोस्टों का साझाकरण
31.0%
औसत पसंद
178.5
उच्चतम गुणक
8.3×

Front-end Open-source Libraries and Tool Releases

विशिष्ट × 17.9

COBE v2: reliably use any DOM elements as markers & arcs. CSS transition, animation, filter, interactivity, ...all just work.

High perf, zero deps, still ~5KB. Coming soon.

वीडियो लोड हो रहा है…
226K4.19K753.36K
मूल पोस्ट देखें
विशिष्ट × 17.1

I trained a small model to do syntax highlighting in the browser with GPU.

Meet gpu-lexer from Vercel Labs: Small (27.5KB), fast (runs on WebGPU), and language-agnostic (model guesses the syntax). https://t.co/adphvt2Lv4 It is experimental and built for learning!

वीडियो लोड हो रहा है…
803K3.99K1432.87K
मूल पोस्ट देखें
विशिष्ट × 3.7

Made `nstr` — Stringify numbers in JavaScript with smart precision detection. No more ugly precision issues in your UI:

𝚌𝚘𝚗𝚜𝚝 𝚙𝚛𝚒𝚌𝚎 = 𝟷𝟿.𝟿, 𝚛𝚊𝚝𝚎 = 𝟷𝟶𝟶 𝚛𝚎𝚝𝚞𝚛𝚗 <𝚜𝚙𝚊𝚗>${𝚙𝚛𝚒𝚌𝚎 * 𝚛𝚊𝚝𝚎}</𝚜𝚙𝚊𝚗> Shows: $1989.9999999999998 instead of $1990 😱 https://t.co/LA9faf1e4r

159K87734458
मूल पोस्ट देखें
विशिष्ट × 3.3

Next version of Satori:

grid/block/inline/inline-block, fixed/sticky, float/clear, list-style, counter, word-spacing, overflow, aspect-ratio, order, visibility, outline, mix-blend-mode, isolation, paint-order, z-index, 3D transform, conic gradient, calc(), min/max/clamp() https://t.co/rH2QtKv7wS

वीडियो लोड हो रहा है…
28.7K77618418
मूल पोस्ट देखें
विशिष्ट × 3.0

After one week, there are 5 more small models for specific tasks on the web:

1. gpu-time: natural language to JS date and time by @imarikchakma 2. gpu-query: natural language to structured filters by @cheatyyyy 3. neural-flexbox: model to centre a div (!) by @aaronvanston 4. gpu-cron: natural language to cron expressions by @ManuSchiller 5. tinysarf: arabic morphological analyzers by @Ahmedabdou1996

@imarikchakma@cheatyyyy@aaronvanston@ManuSchiller@Ahmedabdou1996
उद्धृत पोस्ट खोलें
54.7K69124619
मूल पोस्ट देखें
विशिष्ट × 2.9

In the latest `swr@beta`, you can seamlessly move data fetching between client-side and server-side, or both, in an RSC framework like Next.js:

🔸Client only: useSWR(key, fetcher) 🔹Mixed: useSWR(key, fetcher) + RSC-provided data 🔸Server only: useSWR(key) + RSC-provided data https://t.co/UOqZ8XXEh2

@beta
वीडियो लोड हो रहा है…
268K67416440
मूल पोस्ट देखें
विशिष्ट × 2.1

In the next version of Next.js Image Generation: - Sharp for rendering - Faster Satori core - background-size: cover, contain, auto - text-decoration-skip-ink

Same ImageResponse, 65% faster:

छवि पोस्ट करेंछवि लोड हो रही है…
44.3K49114109
मूल पोस्ट देखें
विशिष्ट × 2.0

Some recent updates to @vercel’s Satori library:

- text-wrap: "pretty" - text-decoration-style: double - pointScaleFactor - Async components - Memory and speed improvements https://t.co/SLmGvcjDmZ

@vercel
23.6K4676141
मूल पोस्ट देखें
विशिष्ट × 2.0

Some big feature updates for Satori. More in thread. Coming soon to Next.js ImageResponse:

• HarfBuzz text shaper (YES!) • WebP as image source • backdrop-filter • shape() in clip-path • corner-shape https://t.co/SLmGvcjDmZ

26.4K46025181
मूल पोस्ट देखें
विशिष्ट × 1.5

Some recent updates for @vercel’s OG image generation and Satori:

🔹 Flex gap is now supported 🎉 🔹 HTML lang= attr 🎉 🔹 currentColor 🎉 🔹 Improvements related to emojis, viewBox, data URI, break-word, white-space and more https://t.co/u6flVtDBfE https://t.co/PjbaxQigYW

@vercel
72.7K3591057
मूल पोस्ट देखें
विशिष्ट × 1.2

Got a lot of attention for this (thank you!), but also there're some criticisms and questions:

1) it's a stupid idea Maybe. Again, this is experimental and not meant to be used in production or as a replacement for anything. It is to explore new possibilities. 2) it's unnecessary and sometimes wrong Existing solutions are not always more correct just because they're "algorithmic". For example pic 1 is Highlight.js and 2 is gpu-lexer, lang is JS not something rare. There are counterexamples too. Furthermore, language-agnostic is the real reason for exploring this approach. During training, the neural network learned patterns like "[keyword] variable = value" that are not tied to any specific programming language such as: var ... = ... let ... = ... const ... = ... using ... = ... val ... = ... auto ... = ... type ... = ... def ... = ... And that knowledge can be shared without re-implementing a grammar rule repeatedly. Another advantage is that this approach can potentially generalize to new programming languages or dialects without requiring extensive manual rule creation. If you go to https://t.co/s92Q3d2w94, you can't find popular Web framework languages like Vue, Svelte, Astro, and many others. Not to mention that new languages and dialects are constantly emerging, making it impractical to maintain comprehensive grammar rules for all of them. When that's a concern, you either use more comprehensive solutions like Shiki with a cost (carefully bundle, detect and load language definitions on demand, larger size), or use an easier approach for all kinds of source code with another cost (less accurate). That is definitely a good reason to explore this direction.

छवि पोस्ट करेंछवि लोड हो रही है…
उद्धृत पोस्ट खोलें
30.2K2762392
मूल पोस्ट देखें
विशिष्ट × 0.9

Satori v0.16.0 (thanks to @yogalayout):

New features: - box-sizing - display: contents - position: static Improvements: - Bugfixes for absolute positioning - Support percentage values for flex gap - Smaller package size https://t.co/SLmGvcjDmZ

@yogalayout
18.7K214267
मूल पोस्ट देखें
विशिष्ट × 0.5

Latest SWR (v2.3.8) comes with:

- A new `strictServerPrefetchWarning` option to let you progressively embrace the “prefetch on the server” pattern for better performance: https://t.co/VVXrPB9TUQ - Better TSDoc with tons of new code examples https://t.co/DCoXTZi9KJ

छवि पोस्ट करेंछवि लोड हो रही है…
15.1K116233
मूल पोस्ट देखें
पोस्ट
41
पोस्टों का साझाकरण
20.5%
औसत पसंद
295
उच्चतम गुणक
17.9×

CSS and Web Rendering Experiments

विशिष्ट × 10.7

UI and math time! UI = f(props) is the most famous line in React. But that f is JavaScript, not math.

Inspired by @_chenglou’s Handwired project, I compiled a <Dashboard/> component into a real math function, and asked what becomes possible. https://t.co/huyWUwLCpx

@_chenglou
वीडियो लोड हो रहा है…
203K2.51K592.31K
मूल पोस्ट देखें
विशिष्ट × 6.2

There’s a trend of using rotating gradients as input / button borders with CSS. Here’s a neat trick to enhance its appearance: https://t.co/DvPg8hvcIm

वीडियो लोड हो रहा है…
328K1.45K191.4K
मूल पोस्ट देखें
विशिष्ट × 5.8

There’s an idea that I’ve been casually working on for quite a while: bringing shaders to React.

Here’s my first demo: https://t.co/oyygjLlIeQ

वीडियो लोड हो रहा है…
169K1.37K34707
मूल पोस्ट देखें
विशिष्ट × 1.6

Guess I really love CSS and I’m obsessed with the idea of CSS-only challenges. There are some interesting tricks used and someday I’ll write about them...

Here are a few of them:

116K38010221
मूल पोस्ट देखें
विशिष्ट × 1.3

Double-slit experiment in JavaScript: a single rule about console.log() produces a zoo of quantum phenomena.

which( function path1() { return 0 }, function path2() { return 1 }, ) // → 0.5 https://t.co/yVoh5WPP4b

27.5K29915161
मूल पोस्ट देखें
विशिष्ट × 1.2

Going to convert markers of https://t.co/GzD8ceTH0C to attributes of a new vertex shader. This works similar to a particle system, and it is more performant than the for loop in our current fragment shader (so you can add more markers!).

Next is arcs and DOM nodes/events. https://t.co/NW0wZhSjPg

वीडियो लोड हो रहा है…
52.9K2803115
मूल पोस्ट देखें
विशिष्ट × 0.6

Ported some of my generative visuals to React Native w/ @expo two years ago. Maybe this year I can make some progress… the “N connected sliders start from any point” interaction was clean and joyful :D https://t.co/lwvyhqhxEk

@expo
वीडियो लोड हो रहा है…
19K146931
मूल पोस्ट देखें
विशिष्ट × 0.1

There might be two dimensions, one is about machine and the other is about mind

Atomic styles vs bundled styles Inline styles vs multi-hop styles

8.91K3512
मूल पोस्ट देखें
पोस्ट
34
पोस्टों का साझाकरण
17.0%
औसत पसंद
284
उच्चतम गुणक
26.6×

AI-assisted Development and Product Updates

विशिष्ट × 8.6

Tell your agent to optimize your site’s web fonts. I’m seeing a huge difference on my blog.

Full prompt: Make this site's web fonts load faster without changing how anything looks. Shrink font bytes as far as possible, keep rendering identical, and prove it with before/after pixel diffs. Treat any visual change as a regression unless I approve it. If an optimization would change rendering, tell me what it saves and what it changes, and keep the site looking the same by default. Keep the current loading behavior: don't touch font-display or fallback fonts. Don't add font processing to the build; write a script I run by hand, commit its output, and note when it needs rerunning. First measure the current state: each font file's size, glyph count, variable axes, OpenType features and hinting, plus font bytes per page and what each page preloads. Then find out what the site actually uses, checking inline component styles as well as stylesheets: which characters appear in the content, which axis values and weights each font needs (including one-off overrides and bold inside italics), which OpenType features are turned on, and CSS side effects like `hyphens: auto` using the U+2010 hyphen. Cut each font down to that. Keep the used characters plus Latin-1 and Latin Extended-A, and leave CJK to system fonts if that's how it renders today. Limit variable axes to the ranges in use, and only fix an axis at one value if nothing overrides it. Drop unused OpenType features and hinting. Split each font into two files. A small core with ASCII and the punctuation most pages use (curly quotes, dashes, ellipsis) gets preloaded. An extended file behind `unicode-range` only downloads when a page needs one of its characters. Each file's `unicode-range` should list only characters it actually contains. Watch out for a few things. A generated fallback face between the core and extended files will draw the extended characters before the real font does. Fonts with a Reserved Font Name under the OFL must be renamed internally once subset. Check the generated files, since font tools have quirks. Before calling it done, build a baseline from the same content and pixel-diff before and after on pages with code, italics, accented characters, components with their own font settings, and CJK. Explain every visible difference: content change, regression to fix, or harmless sub-pixel rounding. Re-measure bytes per page and confirm the extended files only load where needed. When you're done, tell me the bytes before and after per font and per page, the pixel-diff results, anywhere you deviated from what I asked and what it cost, and how to rerun the script. Later, it may be worth embedding the core font in the global stylesheet and precaching the extended files after idle.

छवि पोस्ट करेंछवि लोड हो रही है…
160K2.01K633.33K
मूल पोस्ट देखें
विशिष्ट × 1.4

I love shaders but they usually take a lot of time to tweak. It unfortunately makes me less motivated to create.

But recently @v0 is my superpower and encourages me to create more without hesitating. Even a 5 minute gap before sleep: https://t.co/Ytb9Q4espP https://t.co/ChzXhUmypy

@v0
वीडियो लोड हो रहा है…
40.2K3329221
मूल पोस्ट देखें
विशिष्ट × 0.5

Wanted to show IO waterfall impacts in server-client apps (https://t.co/1spONUGaTJ). With 1 prompt, it was joyful to see @v0 one-shot this visualization with agent-browser:

1. Screenshotted the WIP 2. Identified issues and ran browser scripts for more info 3. Patched fixes and re-screenshotted to verify

@v0
छवि पोस्ट करेंछवि लोड हो रही है…
उद्धृत पोस्ट खोलें
17.3K118569
मूल पोस्ट देखें
विशिष्ट × 0.2

LLM-powered apps have longer request/session durations. Common to see &gt;30s streamed requests.

With around 24*60*60/30 = 2,880 daily requests globally (distributed evenly), you can’t just cd into your server and restart your app anytime. It will break some users.

11.2K46410
मूल पोस्ट देखें
विशिष्ट × 0.1

Some personal thoughts and notes from a while back about the architectural design of AI tools. And I guess AutoGPT now already implements something similar, even with long-term memory. https://t.co/GwYUu7GSUe

छवि पोस्ट करेंछवि लोड हो रही है…
9.22K35117
मूल पोस्ट देखें
पोस्ट
28
पोस्टों का साझाकरण
14.0%
औसत पसंद
231.5
उच्चतम गुणक
8.6×

Technical Essays and Personal Reflections

विशिष्ट × 18.6

13 years ago, Apple asked a question that hits me harder today than ever:

If everyone is busy making everything, how can anyone perfect anything? Every day, I see a world flooded with effortless AI slops. I’m realizing that to build something truly great today, you need a level of focus the world has never demanded before. It feels like trying to write a quiet, beautiful song in a room full of loud noise.

161K4.35K1121.28K
मूल पोस्ट देखें
विशिष्ट × 2.1

I spent a month in NYC &amp; SF preparing for the launch of https://t.co/zsRX0cmo66 with the team — it went smoothly. On the night of release, while flying back to Europe, I was treated to a stunning aurora over the Greenland skies. Breathtaking. https://t.co/dVD8UotiJc

छवि पोस्ट करेंछवि लोड हो रही है…
65.1K4971016
मूल पोस्ट देखें
विशिष्ट × 0.4

Reading a book about Fermat’s Last Theorem and I can’t stop thinking about this: a good conjecture is sometimes more valuable than the proof.

Good taste is about solving problems. Great taste is about identifying them.

7.82K95225
मूल पोस्ट देखें
विशिष्ट × 0.2

“And what do you think was the salient feature of the rainbow that inspired Descartes’ mathematical analysis?”

[…] “I would say his inspiration was that he thought rainbows were beautiful.” https://t.co/Qdp7kNPLw7

छवि पोस्ट करेंछवि लोड हो रही है…
16.6K46116
मूल पोस्ट देखें
पोस्ट
19
पोस्टों का साझाकरण
9.5%
औसत पसंद
246
उच्चतम गुणक
43.1×

Other

पोस्ट
16
पोस्टों का साझाकरण
8.0%
औसत पसंद
108.5
उच्चतम गुणक
7.8×

Shu की सामग्री रणनीति से जुड़े सवाल

Shu की सामग्री के मुख्य विषय क्या हैं?

मुख्य विषयों में React and Next.js Framework Practices, Front-end Open-source Libraries and Tool Releases, CSS and Web Rendering Experiments, और AI-assisted Development and Product Updates शामिल हैं।

सामग्री के विषय देखें ↗

Shu के किन विषयों का लाइक योगदान उनके पोस्ट के हिस्से से अधिक है?

Technical Essays and Personal Reflections का पोस्ट में हिस्सा 9.5% और लाइक में हिस्सा 19.5% है।

Non-technical personal expressions and opinions on open-source culture, design taste, reading, snippets of work and life, etc.

उदाहरण के लिए: My 10 years on GitHub ↗

विषय का प्रदर्शन देखें ↗

X पर Shu के किन पोस्टिंग समयों में लाइक की माध्यिका सबसे अधिक है?

रविवार 00:00–04:00 UTC में 6 पोस्ट के आधार पर लाइक की सबसे अधिक माध्यिका 1,176.5 है।

पोस्ट करने का समय देखें ↗

Shu की किस पोस्ट को सबसे अधिक लाइक मिले?

सबसे अधिक पसंद की गई पोस्ट को 10,076 लाइक मिले, जो Shu के प्रति पोस्ट लाइक की माध्यिका से लगभग 43.1 गुना हैं।

2 जनवरी 2023 को प्रकाशित पोस्ट में लिखा है: “My 10 years on GitHub”।

मूल पोस्ट खोलें ↗

Shu सबसे अधिक किन प्रारूपों में पोस्ट करता है, और वीडियो व चित्रों का प्रदर्शन कैसे अलग है?

उद्धरण, Shu का सबसे अधिक प्रकाशित प्रारूप है और कुल पोस्ट का 39.5% है।

वीडियो को चित्रों की तुलना में औसतन 1.13 गुना व्यू मिलते हैं; उनके व्यू की माध्यिका चित्रों से 1.62 गुना है।

सामग्री के प्रारूप देखें ↗

Shu, X पर कितनी बार पोस्ट करता है?

इस रिपोर्ट की अवधि में Shu हर सप्ताह लगभग 1.0 पोस्ट करता है।

Shu सबसे अधिक इन दिनों पोस्ट करता है: रविवार (36 पोस्ट) और शुक्रवार (34 पोस्ट)।

सबसे अधिक पोस्ट 18 सितंबर 2023 को हुईं: 3।

पोस्टिंग कैलेंडर देखें ↗

ViewSocial, Shu की सामग्री का विश्लेषण करने के लिए AI का उपयोग कैसे करता है?

AI पोस्ट को सामग्री के विषयों में बाँटता है। विषय का प्रदर्शन और मूल पोस्ट देखने के लिए उसे खोलें।

सामग्री के विषय देखें ↗