4 ms·
I do not think author contradicts himself at all. If they would have used react-native-web, he would have saved some time writing the Android (or IOS) apps. Be
by 75dvtwin 8y ago
I do not think author contradicts himself at all.
If they would have used react-native-web, he would have saved some time writing the Android (or IOS) apps. Because he could have reused the code (he said that too).
This is what I have done, anyway.
Also react-native-web is very very high quality library.
I am just amazed at the quality Nicolas Gallagher is putting out.
My app now runs on web and via browser on android/ios with all the magic of responsive UIs, reshaping all those positions when a user rotates the screen or zooms out.
I am wondering, on occasion why I spent time on native apps (even with React Native) -- at all, as React Native Web (with a bit of React-bootstrap) -- are just amazing.
Wrt next.js, at least when I looked at it mid last year, did not support routing with React-router. And for me it was a big deal, I did not want spend time on learning specifics next-js routing.
Instead I went with
https://github.com/jaredpalmer/razzle https://github.com/jaredpalmer/razzle
which supports React Router for routing, which I use Android/react-native and React-native-web, uniformly.
React-router, is also very good and useful library with nice, intuitive architecture for routing.
At the end, I decided for my need the Server Side rendering is a later-stage item. So I have not spend more time on it.
I suspect Spectrum did not loose much traffic because their app is not using SSA routes.
Zulip chat app (may be they are spectrum's competitor, not sure) - uses React Native for mobile (https://github.com/zulip/zulip-mobile https://github.com/zulip/zulip-mobile ), but something else for web. As a reference.
- vishnu_ks 8y agoSo the reason why Zulip doesn't use React for the web app is that there was no React(at least not available for public) when Zulip started out in 2012. The Javascript frameworks which did exist in 2012 no longer exists or is not used by anyone anymore. Zulip still uses jQuery with some internal abstractions. The reason why Zulip decided to use React Native for mobile app was probably it was much easier to have a single codebase than maintaining a different codebase for Android and iOS. Same reason for using Electron for Desktop app. That said we have been talking about the possibility of using a Javascript framework for Zulip web app for a while now but we have not found a good enough reason to make the switch yet. See the following link for more details https://chat.zulip.org/#narrow/stream/6-frontend/topic/vue.20upgrade https://chat.zulip.org/#narrow/stream/6-frontend/topic/vue.2...