49 ms·
Guys, didn't you get the memo? We're doing this differently now, we've replaced https://github.com/jquery/jquery-ui/blob/main/ui/widgets/tabs.js https://github
by phoronixrly 2y ago
Guys, didn't you get the memo? We're doing this differently now, we've replaced
https://github.com/jquery/jquery-ui/blob/main/ui/widgets/tabs.js https://github.com/jquery/jquery-ui/blob/main/ui/widgets/tab...
with the much better, much simpler, more readable and not at all depending on 42(!) modules (/s)
https://github.com/tailwindlabs/headlessui/blob/main/packages/%40headlessui-react/src/components/tabs/tabs.tsx https://github.com/tailwindlabs/headlessui/blob/main/package...
What joy! (/s)
// inb4 oh but you don't understand anything... it's declarative
- rob 2y agoCrazy how over-engineered the Headless UI one looks. Like they had a 5,000 word assignment but could only come up with 1,000 words and had to keep expanding and expanding to fit their quota. The import statements alone give nightmares.
- phoronixrly 2y agoIt's astonishing... It looks like it's not meant to be read by humans, let alone debugged or extended...
- floydnoel 2y agowhat about the jqueryui example seems better to you? it's over 100 lines longer and seems less organized to me when looking over both. if you asked me to modify one of my choice to add a new feature i think the react example would be easier. is it just preference differences or am i missing something?
- deleted 2y ago[deleted]