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
Posts by Rich
9 months ago
4
0
1
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.
11 months ago
2
0
0
0
Totally but I never quite trust the answer. Bit like Wikipedia.
1 year ago
3
0
0
0
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!
1 year ago
196
49
17
8
I got my twitter back ๐
1 year ago
2
0
0
0