Aejkatappaja
Re:Show HN: Davit, a Apple Containers UI
on Wednesday July 08, 2026 @04:40AM (#48829262)
Looks nice!
Will give it a try, you won a star
Re:Show HN: Jot, a menu bar app that catches a thought before it's gone
on Wednesday July 08, 2026 @04:38AM (#48829251)
Nice, but genuinely curious vs a Raycast snippet: is local JSON + full-text search over history the real selling point? Because for quick capture Raycast already nails that.
Re:Structure and Interpretation of Computer Programs Video Lectures
on Wednesday July 08, 2026 @04:35AM (#48829227)
I always recommend these lectures, awesome!
Re:Show HN: Phantom UI – Skeleton that measures your real DOM (Web Com...
on Thursday April 09, 2026 @04:45AM (#47700894)
Thanks!
Re:Show HN: Phantom UI – Skeleton that measures your real DOM (Web Com...
on Wednesday April 08, 2026 @06:00PM (#47696825)
Thanks, let me know how it goes!
Re:Show HN: Phantom UI – Skeleton that measures your real DOM (Web Com...
on Wednesday April 08, 2026 @05:59PM (#47696819)
Thanks! Right now it relies entirely on getBoundingClientRect(), so if an element has no dimensions yet the block gets skipped.
For images/videos I added a load event listener that re-measures once the media loads and takes up space.
For elements that are truly dynamic with no initial size, the best workaround today is setting explicit dimensions via CSS (min-height, aspect-ratio, etc.) which is good practice for CLS anyway.
That said, something like data-shimmer-width / data-shimmer-height attributes to manually override sizing could work well for that use case.
Adding it to the backlog!
Re:Show HN: Phantom UI – Skeleton that measures your real DOM (Web Com...
on Wednesday April 08, 2026 @05:42PM (#47696652)
Thanks! That's just how custom elements work in React, you use the HTML tag name directly.
React 19 has native custom element support so <phantom-ui> works as-is, no wrapper needed.
Keeping it as a single HTML tag across all frameworks is the whole point.