Sign in

Louis DeScioli

@lou.descioli.com
180 followers 217 following 105 posts

All things spatial computing, software engineering and systems thinking. I know way too much about computers 📍NYC 🔗 descioli.com

PostsRepliesMedia
Louis DeScioli @lou.descioli.com · 29/04/2026
Never continues to amaze me how I manage to find corner cases of major projects a decade plus into their existence 😭 Today: serving static assets of a Next.js app from an external CDN and instantiating a Web Worker straight up doesn't work. v16.1 it mangles the URL, v16.2 it's a SecurityError. Fml
020
Louis DeScioli @lou.descioli.com · 09/04/2026
When would you use this instead of ky? Is it mostly a preference of API style? Or are there distinguishing features, like bring your own fetch?
020
Louis DeScioli @lou.descioli.com · 04/04/2026
Yes, my case where I use this is a query used in a single place. So not re-rendering when data updates elsewhere is n/a. This is a gray area about the rules IIUC. It's an effect, but it's idempotent w/ the cache. Any other suggestions for this pattern, where a parent fetches but a child suspends?
000
Louis DeScioli @lou.descioli.com · 04/04/2026
Got a question for you about trying to React.use on a promise from queryClient.fetchQuery bsky.app/profile/lou....
110
Louis DeScioli @lou.descioli.com · 01/04/2026
Gist with the TS version gist.github.com/lourd/eae226...
gist.github.com
Hook for returning a cached promise from a TanStack React Query to `use` in child component
Hook for returning a cached promise from a TanStack React Query to `use` in child component - useFetchQuery.ts
010
Louis DeScioli @lou.descioli.com · 01/04/2026
@tkdodo.eu related to your work here bsky.app/profile/tkdo... I recently wanted to initiate a fetch in a parent component but then suspend in a child component. Instead of usePrefetchQuery + useSuspenseQuery I came up with this. Child component calls `use` with returned promise. Clever or stupid?
110
Louis DeScioli @lou.descioli.com · 22/10/2025
Nice! Looking forward to it. Trying to migrate my team’s workflows to continuous tasks/TUI for day to day dev and this got raised as enough friction to stick current workflow of separate terminal tabs/windows
020
Louis DeScioli @lou.descioli.com · 22/10/2025
@juri.dev is there some way to search the logs for an @nx.dev continuous task, aside from copy and pasting the entire TUI output into a separate file and searching? Or, is there a way to tail the output for a task(s) to a file? There's the MCP server, but is there a simpler way to see/query logs?
100
Louis DeScioli @lou.descioli.com · 15/06/2025
I gave it my best shot! github.com/facebook/rea...
github.com
Adds Compiler support for remaining Array methods - sort, reduce, and more by lourd · Pull Request #33535 · facebook/react
Summary Was discussing some unexpected bailouts I'd run into with the Compiler with @josephsavona on Bluesky https://bsky.app/profile/en-js.bsky.social/post/3lrlh3rdbok2s and he kindly pointed ...
010
Louis DeScioli @lou.descioli.com · 14/06/2025
🥲
000
Louis DeScioli @lou.descioli.com · 14/06/2025
...was counting on being auto-memoized for performance reasons. An innocent change blew up the performance of the whole tree. Handler functions created in the parent that had previously been memoized now changed every render, messing up the memoization of the child components, etc. etc.
010
Louis DeScioli @lou.descioli.com · 14/06/2025
I think at this point my team and I definitely want warnings, either via eslint or at compile time, when a component won't be memoized. In the real-world situation I'm pulling that sort example from, it was a big, ~1k-line component that renders a couple costly sub components, each of which...
110
Louis DeScioli @lou.descioli.com · 14/06/2025
Same issue though when copying and using sort playground.react.dev#N4Igzg9grgTg...
100
Louis DeScioli @lou.descioli.com · 14/06/2025
It's so silent and surprising that it has me considering whether my guidance to my team should be to stop using useMemo altogether, just use IIFEs and let the Compiler do any and all memoizations
100
Louis DeScioli @lou.descioli.com · 14/06/2025
Will this help situations where the Compiler bails out on certain uses of useMemo? I've been surprised a few times in the past couple weeks where adding a useMemo that follows all rules and looks harmless accidentally de-optimized a component playground.react.dev#N4Igzg9grgTg...
200
Louis DeScioli @lou.descioli.com · 08/06/2025
Got to the bottom of it 🙃 github.com/facebook/rea...
github.com
[Compiler Bug]: React Compiler breaks most functionality of TanStack Table · Issue #33057 · facebook/react
What kind of issue is this? React Compiler core (the JS output is incorrect, or your app works incorrectly after optimization) babel-plugin-react-compiler (build issue installing or using the Babel...
120
Louis DeScioli @lou.descioli.com · 08/06/2025
We keep having to 'use no memo' in components that use @tanstack/react-table, though. I think there's something with the useReactTable hook that is relying on over-rendering/breaking some rule of React. Haven't gotten to the bottom of that
100
Louis DeScioli @lou.descioli.com · 08/06/2025
I enabled it February on a very large Next.js project I joined that had little to no memoization. Re-renders were so bad taking a profile would fail most of the time. It worked wonders! Almost no one on the team knew about it! I was very surprised. Next.js making it an "experiment" doesn't help
100
Reposted by Louis DeScioli
Stan Oklobdzija @stano.bsky.social · 09/05/2025
"Masked security forces captured an opposition leader in the coastal province of New Jersey as regime officials continue their months-long crack-down against pro-democracy elements in the embattled United States. The arrest comes as the regime issued calls for summary detentions without trial."
605196398903
Louis DeScioli @lou.descioli.com · 08/05/2025
I found and fixed a bug in @nextjs.org! 🤓 #OSS github.com/vercel/next....
github.com
Removes onNavigate from transition scope by lourd · Pull Request #78605 · vercel/next.js
What? Fixes a bug in the Link component where state updates inside an onNavigate callback aren't committed. Why? onNavigate is intended to provide a way to create transition animations and pend...
020
Louis DeScioli @lou.descioli.com · 05/04/2025
@arktype.io when's the new package getting published? 📦 👀 github.com/arktypeio/ar...
github.com
arktype/ark/json-schema at main · arktypeio/arktype
TypeScript's 1:1 validator, optimized from editor to runtime - arktypeio/arktype
110
Reposted by Louis DeScioli
Matt Novak @paleofuture.bsky.social · 26/03/2025
Video of the international student at Tufts being arrested by "federal authorities" in Massachusetts has been released and it's terrifying. They're not even uniformed officers. Just secret police thugs in hoodies and masks. From WCVB: youtu.be/PuFIs7OkzYY
1130143187421
Louis DeScioli @lou.descioli.com · 24/03/2025
@juri.dev I'm curious, with the TS Go future how has that changed the @nx.dev team's thinking for TS monorepo setups? You think package manager + references setup is still the best default, or single project + path aliases and adopt references as needed?
010
Louis DeScioli @lou.descioli.com · 24/03/2025
Just ran into the fact that you can't schedule send text messages from iPhone to Android, only to other iPhone numbers 🤦‍♂️ What a fucking joke
010
Reposted by Louis DeScioli
Anne Applebaum @anneapplebaum.wsocial.eu · 13/02/2025
The Department of Government Efficiency isn't interested in efficiency. Or transparency, or cutting costs. It's real goal is to destroy the federal civil service. In other words, regime change. www.theatlantic.com/ideas/archiv...
theatlantic.com
There’s a Term for What Trump and Musk Are Doing
How regime change happens in America
15149891910
Reposted by Louis DeScioli
Kendra "Gloom is My Beat" Pierre-Louis @kendrawrites.com · 09/02/2025
Just saw a farmer say, "you don't have to admit you were wrong, you have to admit you were lied to, " and idk that seems like a good framing to call people in
96227165571
Louis DeScioli @lou.descioli.com · 09/02/2025
Also how can I get suggested imports working again? That functionality seems to be broken in VSCode with the references+workspaces setup, using either pnpm or npm. Having to manually write out import paths is unfortunate. Is that a known issue?
010
Louis DeScioli @lou.descioli.com · 09/02/2025
Looks like the esbuild, swc and rollup executors are all set to not allow generatePackageJson github.com/search?q=rep... Maybe this is coming in Nx v21? 🤞 This is a hard blocker for being able to adopt a references+workspaces setup.
github.com
Build software better, together
GitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.
100
Louis DeScioli @lou.descioli.com · 09/02/2025
@juri.dev another question when using the new @nx.dev TS setup. I have Node.js apps built using the esbuild executor, using the generatePackageJson option to install only that app's deps in prod. With the new setup there's an error about that option being unsupported 🫤 What's a viable alternative?
110
Louis DeScioli @lou.descioli.com · 07/02/2025
@juri.dev, I just finished doing a deep dive on all the latest Nx & TS work. Really exciting stuff! When following the new suggestion to use references+workspaces, is the withNx bit for configuring a Next.js app nx.dev/recipes/next... even needed anymore?
nx.dev
How to configure Next.js plugins
A guide for configuring Next.js plugins with Nx
110
Louis DeScioli @lou.descioli.com · 31/01/2025
Great suggestion, thanks! github.com/lourd/descio...
github.com
Adds a gradient mask to blog post hero images · lourd/descioli.com@341c3b4
Kudos to Griffen for pointing out the contrast issue and Chevindu for the gradient suggestion! https://bsky.app/profile/chevindu.bsky.social/post/3lgzivhhofc2h
010
Louis DeScioli @lou.descioli.com · 31/01/2025
Windows?
000
Louis DeScioli @lou.descioli.com · 31/01/2025
Before and after! www.descioli.com/grove
171
Louis DeScioli @lou.descioli.com · 31/01/2025
Love this! I just tried this out on my site and caught some accidental enlargement in places other than the first paragraph, e.g. an article where I had list items in a ul. Solved it by using `p:first-of-type` instead of `:first-child` 👍
120
Louis DeScioli @lou.descioli.com · 28/01/2025
Yup, I’m tracking the same threads about it. Maybe this will be the year reading from a big context is performant instead of a pitfall! 🫠🤞
010
Louis DeScioli @lou.descioli.com · 28/01/2025
I haven't put the compiler through its paces on these cases yet, though, so I could be happily wrong!
110
Louis DeScioli @lou.descioli.com · 28/01/2025
I think so. It’s the assumption of the compiler entirely replacing useMemo for cases that involve reselect that doesn’t feel entirely plausible, yet.
120
Louis DeScioli @lou.descioli.com · 28/01/2025
No, not by themselves. I think you still need reselect, or something like it
110
Louis DeScioli @lou.descioli.com · 28/01/2025
The comments on Fireship videos are some of my favorite on the internet youtu.be/Nl7aCUsWykg?...
010
Louis DeScioli @lou.descioli.com · 27/01/2025
I’m so skeptical that the compiler will be just as performant for the case of multiple selectors composed together with specific caching strategies. I think we’ll still need useContextSelector for quite some time 🤷‍♂️
110
Louis DeScioli @lou.descioli.com · 27/01/2025
Is the benefit of this over use-context-selector that use+useMemo will hopefully just be simple renames to the APIs from react when the memo+context optimization is eventually implemented? vs useContextSelector, which won't ever be part of the core React API?
120
Louis DeScioli @lou.descioli.com · 19/01/2025
The fact that the last TikTok I saw as it shutdown is a white dude singing a Chinese song has me lmao 🤣
031
Louis DeScioli @lou.descioli.com · 17/01/2025
Hm, ok. So when adding a dependency to a project, you would still only add it to the root package.json, or you’d have to root and the project’s?
100
Louis DeScioli @lou.descioli.com · 17/01/2025
Does using workspaces imply a multiple package.json/multi-version setup?
100
Louis DeScioli @lou.descioli.com · 16/01/2025
I used this for finding folks from X, it worked decently chromewebstore.google.com/detail/sky-f...
chromewebstore.google.com
Sky Follower Bridge - Chrome Web Store
Easily transfer your following users and list members from X to Bluesky.
020
Louis DeScioli @lou.descioli.com · 16/01/2025
I'm having a bit of trouble following the latest best practice with Nx. If I have a traditional one-version Nx monorepo, with a single root package.json and a tsconfig.json & project.json for each lib & app, is that still optimal or is there a better way to do this now?
100
Louis DeScioli @lou.descioli.com · 08/01/2025
Holy cow/lol at the easter egg that is his other, also beautiful site 🤯😂 hireme.website
hireme.website
Hire Me | The Resume & CV of Henry Desroches
Here’s the elevator pitch on why I’d love to work with you and why you might want to work with me. Hope you think it’s nice :)
020
Louis DeScioli @lou.descioli.com · 08/01/2025
Shout-out to everyone else who hit the gym Monday and proceeded to overdo the weights after not working out for a while, and is waking up today cripplingly sore. Raise your hand if you, too, can barely raise your hand today! 🙃 Nice job, keep it up 👏 #NewYearsResolutions
010
Louis DeScioli @lou.descioli.com · 06/01/2025
New cultural milestone for VR — an artist-designed immersive experience was used to illustrate a defense expert’s opinion, the first time VR has been used in US courts. The same defense attorney was also the first to use computer animated evidence back in 1992! www.local10.com/news/local/2...
local10.com
Broward judge dons virtual reality headset in what’s thought to be a courtroom first
At a stand-your-ground hearing on Tuesday, Broward County Judge Andrew Siegel experienced a unique approach to understanding a defense expert’s opinion: He used a virtual reality headset. It’s believe...
010
Louis DeScioli @lou.descioli.com · 12/12/2024
And yet it could still be worse! I asked them about the Unity Pro requirement for AndroidXR on the forum 🤞 I definitely share that pain discussions.unity.com/t/unity-supp...
discussions.unity.com
Unity Support for Android XR: Let’s Get Started!
Super exciting, love to see such strong day 1 support! Will developing for AndroidXR require a Unity Pro subscription like visionOS development does?
010