3 ms·
> Who in their right mind would use React for a content-based site? People who are also writing content-based apps and want to write once but still obtain nati
by p49k 8y ago
> Who in their right mind would use React for a content-based site?
People who are also writing content-based apps and want to write once but still obtain native speeds on mobile? The lack of right-click functionality is just bad design, not React's fault.
- TeMPOraL 8y ago> obtain native speeds on mobile With browsers and heavy JavaScript frameworks? That's an oxymoron right there. The truth is, people/organizations doing this simply put other concerns above user experience and friendliness.
- SmellyGeekBoy 8y ago"Native speeds" in this case meaning "needlessly slow". But at least it's consistently slow across devices!
- tannhaeuser 8y agoAre you talking about Reactive Native? Sounds good on paper, but it's just as fast or slow as a browser because it is a browser, and is far from creating a native app experience on either iOS or Android because it tries to do animation on a JavaScript-style single-threaded execution model among other things. What content-based apps do you have in mind? The Reddit app nobody is using because it doesn't add value to the web site, and which Reddit keeps nagging about in the most annoying way possible (thereby signaling users to never ever install it)? React is fine for browser-based line-of-business (and I guess also collaboration) apps; for content, not so much because you have to go through hoops to parse content into React's vdom [1]. [1]: https://stackoverflow.com/questions/50420248/how-to-parse-a-string-containing-html-to-react-components/50526629#50526629 https://stackoverflow.com/questions/50420248/how-to-parse-a-...
- StellarTabi 8y ago> Reactive Native [...] because it is a browser Reactive Native's primary selling point (and nature of existence) is that it uses native components instead of wrapping a webview. This is the most obvious, relevant, and hyped detail of React Native. So your statement, "React Native is a browser" implying the same performance penalties as visiting as a website or using Cordova/PhoneGap, is false.
- tscs37 8y agoI frequently use the old reddit design (as in old old) because the new and new new design both suck a lot on mobile in terms of speed. There is nothing native about a website which has actual lagging while I scroll when the previous version could do it just fine in desktop mode.
- colanderman 8y ago> still obtain native speeds on mobile The irony is, Reddit on mobile is god-awful slow. It takes a good 5-10 seconds of displaying a spinner just to show me a kilobyte of text (self-post or linked comment). I no longer click Reddit links on mobile for this reason. Reddit has got to have talented people working for it. But whatever they're doing that results in a 10-second spinner to display pure text is "Mongo DB is web-scale" levels of comedy.