Made a fishing game for @playdate lifeiscontent.itch.io/deep-l… give it a try and let me know what you think.
1
43
Please don’t use the node SQLite API whoever thought a synchronous first API in a single threaded language was a good idea 🤦♂️
3
64
I really appreciate the take on AI in this video @jackconte youtube.com/watch?v=17_HcR95…
1
122
TypeScript Tip: prefer typing function arguments rather than typescript generics, the generics will infer the types, this makes code read more like JavaScript and you only type the unknown parts of the code arguments in this case.

ALT // in typed languages, typically you'll see a function signature like: foo(a: number, b: string): boolean {} // instead of doing this: forwardRef<HTMLDivElement, Props>(function Card(props, ref) {}) // make it read like other typed languages, like this: forwardRef(function Card(props: Props, ref: React.ForwardedRef<HTMLDivElement>) {})
I wish I used Astro sooner. Such a cool piece of tech. If you haven't played with it, give it a spin. For simple sites it gives you so much flexibility, letting you decide what lives in config or code. The best part? It works with any front-end framework.
60
Chatting with an LLM is like talking to Mr. Meeseeks. At first it’s cheerful and helpful. Twenty prompts later, it’s begging for the sweet release of death.
1
84
lifeiscontent.net I redesigned my site so the reading experience is a bit more enjoyable
lifeiscontent.net
Engineering notes, component work, and writing from Aaron Reisman.
lifeiscontent.net 1
109
At Sort, we’re all about collaboration and efficiency! Storybook is our go-to for creating and testing UI components, ensuring every detail is seamless.
Check out Sort on Product Hunt and show your support by upvoting: producthunt.com/posts/sort 🚀🙌
hear me out... "use client" was a stupid idea, it should of only ever been "use server" because chances are you're going to have some sort of tranformation done on client code and in some cases no way to apply "use client" to it.
1
85
Aaron Reisman retweeted
Ok folks, real talk. How many of y'all use "write a failing test, then make it pass" TDD on the regular? Like multiple times per week
(boost for reach?)
9%Me!
18%Sometimes
30%Rarely
43%Nope
231 votes • Final resultsDesigners, would you want a MacOS App for browsing / managing icon libraries for a project? Something like iTunes, but for icons?
57
Tip: whenever you're doing animation in JS. always wrap it in requestAnimationFrame so you can let the browser schedule the work
50
Aaron Reisman retweeted
Do you want to animate the height from 0 to auto? Then start adding this to your CSS reset today.
:root {
interpolate-size: allow-keywords;
}
developer.chrome.com/docs/cs…
CSS magic: now you can animate height from 0 to auto via `calc-size(auto)`
Say goodbye to JS Calculate Height!
Combined with <details name="">, a nearly perfect and exclusive Accordion component can now be implemented.
@Una @davidbaron
codepen.io/yisi/pen/MWdajwr
Ever needed a list of refs that are registered by a callback? This can be super helpful when creating keyboard interactions for List UI elements. #React
3
99






