Flutter seems to be gaining ground on React Native. And they also have web and desktop ports. Recently flutter overtook react native on Google trends.
Flutter on the web is absolutely insane. For those who don't know, it basically strips away everything and wraps it in a big terrifyingly complex mess of code and renders everything in a canvas. Flutter advocates like to claim that that's "only a fallback" for when things get complex but as far as I can tell the vast majority of things (including the simplest examples from Flutter itself) force the entire thing into…
React Native for Windows and Mac
481–490 of 505 posts
Re: React Native for Windows and Mac
#482Earlier quoted context omitted.
> RN isn't even native, it still includes a Javascript bridge "Native" doesn't describe the programming language, but the GUI layer. Native == non-web-browser.
The GUI layer in a static sense. You can't have native realtime interactions with the GUI, for instance dragging and interactive animations. You can choose one of two things: 1) Run a single precomputed action or animation in native-land when receiving an event from JS. No interaction is possible. 2) Run a requestAnimationFrame loop in JS which is passing the bridge (6 API calls on Android - 3 layers per direction) 6…
Re: React Native for Windows and Mac
#483Earlier quoted context omitted.
Office already uses react native for parts of their desktop and mobile platforms, win32 is in the process of integrating react-native support. So does Adobe at least if their github is any indication. And if you look at the end consumer software which have billions of users, who in one way or the other pay for it, it's almost always built on web tech these days. Discord, Skype, Slack, Spotify, and so on. Of course th…
Consumers don’t pay Slack - businesses do. No one cares about the Spotify UI. People don’t interact with Spotify that much. They listen to it. The business model of charging upfront isn't exactly a sign of popularity, if anything it's the opposite. In a capitalist system how else do you measure value than what people are willing to pay enough for to have a sustainable business? End users aren’t paying for Slack. They…
Are you just going to find a different reason why you're going to ignore software built on a web tech-stack? Add up the market valuation of all companies using web technology to bring software to their users. Then compare it to the native market. It's not even close.
It's perfectly fine to use market value to estimate utility in a capitalist system. You just can't ignore every piece of software you don't like.
Re: React Native for Windows and Mac
#484Earlier quoted context omitted.
fwiw, I've been doing professional JS (mostly server, good amount of client) for about 5 years now and have never pulled in a single function package before as a direct dependency. Every team I've been on has used Lodash or Underscore in the capacity you describe. https://lodash.com/docs/4.17.15 https://underscorejs.org/
I agree that this is the sane alternative, but sanity does not seem to be winning out. Our friend number-is-nan, for example, has 12 million downloads a week. A week!
Of course they don’t hold a candle to “is-number” which has 29M/week
Of course this is completely unrepresentative of reality because “yolo just install dependencies at deployment” may mean it’s downloaded 5 or 10 or 50 times for a high traffic site/service with a bunch of backend installations.
Re: React Native for Windows and Mac
#485Earlier quoted context omitted.
Angular.js is currently causing problems for me, as it's going to be unsupported in about a year.
https://angular.io/guide/upgrade
GP asked for evidence of Google abandoning things, and Angular.js is exactly that.
Upgrading to an incompatible framework is not supporting the old one.
Re: React Native for Windows and Mac
#486Earlier quoted context omitted.
The browser is where the hundreds of megabytes vanish to when you use a JS app instead of a native one. That might still be better (I'm undecided, personally), but it's worth recognizing that heavy native app is still there, just shared with a lot of other JS apps.
You could say the same about system libraries/binaries every native app needs to run
Re: React Native for Windows and Mac
#487Earlier quoted context omitted.
> Yes, it is theoretically possible for a TypeScript type to be "wrong" and the underlying variable to have a different type. Unlike most languages, TypeScript is just a high-level static analysis compiler service that compiles to JS that executes in a JS VM. It has no control over what happens at runtime, it doesn't know about external libraries and user input, how its TypeScript functions are going to be invoked. A…
I know how it works. I'm talking about practical implications . In practice, say I have type User = { name: string, email: string } let loggedInUser: User = { name: 'Bob', email: 'bob@examaple.com' } or even // Can't change the contents, only reassign the whole variable let loggedInUser: Readonly = ... and only ever use that `loggedInUser` from TypeScript code (because my entire codebase is TypeScript), and I avoid t…
E.g. `const a = [1, 2, 3]` will let you do `a[5]` and still give it type `number` instead of `number|undefined` as mentioned in the github issue. Many other languages also do this (though they have runtime checks/errors).
So that kinda sucks, but the rest still stands (there is still no practically realistic way for `null` or anything other than `undefined` to get there). Hopefully they'll fix that in the future with a new compiler setting.
Re: React Native for Windows and Mac
#488Earlier quoted context omitted.
I'm still a MongoDB cerificated developer. The popularity has dropped as with the amount of positions available. There may come a time when this applies to Go.
I'm curious, what seems to be the Next Big Thing that is superceding MongoDB?
Re: React Native for Windows and Mac
#489Earlier quoted context omitted.
I'm still a MongoDB cerificated developer. The popularity has dropped as with the amount of positions available. There may come a time when this applies to Go.
I'm curious, what seems to be the Next Big Thing that is superceding MongoDB?
Postgres is not new. It was part of my stack 10 years ago. So many new people have moved to postgres it has become hot.
Re: React Native for Windows and Mac
#490Earlier quoted context omitted.
But junk software is still junk and not worth the trouble.
Are we to presume you think that using native SDKs saves your junk software from being junk? I'm not sure how else to interpret your comment in this thread.