Hacker Newsnew | past | comments | ask | show | jobs | submit | zettadam's commentslogin

'headless' means you bring your own html structure, the library provides interaction and state exposed by props or hooks. As such, I am not sure Headless UI is headless since they only let you bring your own CSS. At that point, it's a lot easier to create your own set of components that you have full control over than to include another NPM dependency.


In what way is Headless UI 'headless'?


It doesn't come with any styling OOTB. The idea is that you're just building a frontend (all the markup, styling etc) around some provided state management


`react-table` is headless. I am forced to create my own html structure and am in control of the markup from the start. `headless-ui` provides those components which doesn't give me full control over markup, does it?


It gives you complete control over your markup and styling. Headless UI is designed to handle everything except what the components look like.


<Component as="some html tag"> is not full control :)


Styleless would be a more apt name.


Technically Facebook/Twitter are not websites, but "social" applications (web/native). You need to have a user account to see (FB) or post (FB/Twitter) anything.


I need a user account to watch Netflix. Same for banking.

A user account is not the primary criteria of being a "social" application.


In other countries your health insurance payments are deducted automatically from your paycheck before you get it. Is it not the same or very similar?


> In other countries your health insurance payments are deducted automatically from your paycheck before you get it. Is it not the same or very similar?

Not at all, In places with national single insurer system, (medicare for all), like the UK where am based, the way it works is that you do contribute to National Insurance effectively as part of your taxes, (usually less than you'd pay in the U.S.), BUT if you switch employers or even are unemployed, you still have that healthcare available to you.

Also, all the doctors, hospitals etc. are technically always "in network".


Health insurance? Sounds like a scam. It comes from income taxes and other revenue in Canada.


I imagine there'd be web apps with "realtime" maps of your neighborhoods... imagine the consequences.


Zillow already exists. This information might incentivize individuals making much higher than the average reported income in an area to relocate or increase their security in the short term but burglaries usually go down with income inequality.


Ahem, green card holders and individuals with a "strong visa status" cannot vote. What are you talking about?


Clearly you've not heard of the H1STRONG visa.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: