News for hackers. Stuff that matters.
Re:React.js Introduction for People Who Know Just Enough JQuery by aggronn on Thursday July 09, 2015 @12:36PM (#9858967)
You're wrong about web components and react. As of 0.12, if you register a web component like you normally would, you can reference it in a react component. React no longer has a white list, and instead assumes all lower case tags are HTML tags (standard or custom).

The only drawback is that it doesn't support custom events out of the box. Instead, you have to manually create event listeners on elements on mount. As far as I can tell, there's no reason why it couldn't in the future though; Web component adoption is so low right now that it just hasn't been something people have complained about.

Re:React.js Introduction for People Who Know Just Enough JQuery by marknutter on Thursday July 09, 2015 @06:35PM (#9861144)
Not supporting custom events is pretty much the same as not supporting web components. What if you use a third party web component that has dozens of events? The goal should be interop with no additional plumbing required.
Re:React.js Introduction for People Who Know Just Enough JQuery by aggronn on Thursday July 09, 2015 @07:06PM (#9861307)
There was a time when React literally just didn't support web components, so I don't think that's really fair. Yes, it would be nice if it worked completely free, but if you're only listening to 2 or 3 events on a component, it is definitely a fair price to pay for being so bleeding edge.