Rich's Avatar

Rich

@clearfix.dev

#London based software developer. Ecom on Cloudflare Workers, prev CTO @ ParadeWorld #JavaScript #TypeScript #React ๐Ÿ”ฅ #Remix ๐Ÿ”ฅ #Node #GraphQL and a bit of #F1 https://github.com/richardscarrott

56
Followers
274
Following
4
Posts
12.02.2024
Joined
Posts Following

Latest posts by Rich @clearfix.dev

Just tried #shadcn/ui โ€” love the idea, but wish there was more focus on component API design.

Why bother designing an API when you can just expose `className` ๐Ÿ™ƒ

yeah yeah, I "own the code"โ€ฆ but do I own the API? Not if I want to stay compatible with other shadcn components #react #tailwind

16.07.2025 17:26 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

I don't think your reduce example is O(n^n) but rather O(n^2)? Still not great, but not exponential. You could use reduce in linear time by mutating the accumulator, but your use of entries is certainly nicer. Entries seem to have made their way into so many JS APIs now, super useful.

29.04.2025 16:03 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Totally but I never quite trust the answer. Bit like Wikipedia.

07.12.2024 21:44 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
BlueTube - The hottest YouTube videos posted on Bluesky Discover the most popular YouTube videos being posted on Bluesky

I spent this week building bluetube.fyi using the Bluesky firehose to aggregate YouTube videos. I have plans to layer on more discovery features and more content providers - please let me know your thoughts!

05.12.2024 15:52 ๐Ÿ‘ 196 ๐Ÿ” 50 ๐Ÿ’ฌ 17 ๐Ÿ“Œ 9

I got my twitter back ๐Ÿ™Œ

22.11.2024 19:01 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0