Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Really curious about this. Can you link to some context?

We're looking to find the lowest common denominator of expressing UI components and thinking about JSON metadata instead of Web Components. With this, we'd have to implement some adaptor that maps JSON to each UI library, but in our case we really only have to worry about React and Native Mobile.



I guess because of how JSX works and what is required to support Web Components semantics.

It is like "you kind of can, but you're on your own" thing,

https://reactjs.org/docs/web-components.html


From that page:

> Most people who use React don’t use Web Components, but you may want to, especially if you are using third-party UI components that are written using Web Components.

So it seems like this would be exactly the kind of use case where using web components would be ok.




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

Search: