2 ms·
Seems it doesn’t work in React, everything is sent as a string. There was a link in the article that shows how well web components work with various frameworks
by MBCook 3y ago
Seems it doesn’t work in React, everything is sent as a string. There was a link in the article that shows how well web components work with various frameworks.
https://custom-elements-everywhere.com/ https://custom-elements-everywhere.com/
You can see how React fares for itself.
- troupo 3y agoBecause React works with attributes, not properties, see discussion starting here, and referenced links: https://news.ycombinator.com/item?id=37246462 https://news.ycombinator.com/item?id=37246462