News for hackers. Stuff that matters.
Re:Is ReactJS really fast? by mc808 on Monday June 01, 2015 @02:56PM (#9641227)
The comment makes some sense if you replace "native" with "plain" or "vanilla" JavaScript.
Re:Is ReactJS really fast? by gcb0 on Monday June 01, 2015 @03:01PM (#9641268)
yep. like 99.9% of the code ad networks expect. they want to check DOM state to make sure you are not a sleazy publisher hiding the ads under the content or if you are not being shown in an iframe on some porn site.

with react, they will get inconclusive results because their code might run while they are virtualized or god forbid during the render. and you will only get garbage ads because now they consider you a garbage publisher.

Re:Is ReactJS really fast? by tracker1 on Monday June 01, 2015 @08:52PM (#9643182)
Write your wrapper for ads as a component that renders a div... bind your ad-logic as part of the componentDidMount() event handler. The results should be consistent.
Re:Is ReactJS really fast? by zem on Monday June 01, 2015 @04:35PM (#9641954)
oh! yeah, that does make more sense; i was thinking of something like a qt webview.