progressive-element
progressive-element copied to clipboard
A set of patterns for a behavioral paradigm of building web UIs
https://lamplightdev.com/blog/2024/01/10/streaming-html-out-of-order-without-javascript/
https://x.com/LeaVerou/status/1801192208025940200
I really like the direction you are thinking here. I have been thinking in very similar directions recently, but I am coming from a Stimulus.js background (https://stimulus.hotwired.dev). One of my...
https://www.youtube.com/watch?v=6qpEOBkDr88
https://developer.mozilla.org/en-US/docs/Web/API/Element/beforematch_event https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/hidden#the_hidden_until_found_state
https://github.com/brandonmcconnell/tailwindcss-signals/?source
```css complex-selector { /* if-styles; */ :not(&) { /* else-styles */ } } ``` https://x.com/LeaVerou/status/1757128840894382228?s=20
```html 1 2 3 [if="false"], [else-if="false"], :is([if="true"], [else-if="true"]) ~ :is([else-if], [else]) { display: none; } ``` https://x.com/chrisshank23/status/1763825092679868526?s=20