Live data from Hacker News

React Native for Windows and Mac

microsoft.github.io

491–500 of 505 posts

Re: React Native for Windows and Mac

#491
post #115

Earlier quoted context omitted.

I would be careful with Flutter’s web port. It’s going to be a pretty divergent approach in terms of web dev familiarity, bundle size, and compatibility with native web features (they had to implement copy and paste from scratch, for example). It is very similar to the approach Famous took back when. It is not looked kindly upon by many web platform advocates I know.

The Flutter web port is ridiculous. It circumvents the entire point of a Web page as it's literally just a canvas on the Web page. You lose all advantages that HTML and CSS gives you, links, styling, accessibility, text selection! ... It's basically a flash website... Which admittedly is okay for some applications

I look forward to the day when the folks that shout the benefits of Electron desktop development start screaming over Flutter ruining the web because “it ignores everything that’s good in the browser!”

Re: React Native for Windows and Mac

#493
post #459
post #371

Earlier quoted context omitted.

> the trend back towards statically typed, compiled languages like Rust, Swift, Go are already leading us in that direction. Indeed, even Java and .NET are improving their AOT stories, while available since the early days, weren't as widely deployed as they could have been.

Hopefully soon Java will have a friction-less path to compiling to native. As of now, its quite difficult for anything that isn't trivial.

It has been trivial since 2000, but you had to buy a commercial JDK to get it.

Re: React Native for Windows and Mac

#494

I tried using this a few months ago, as well as React Native for mobile and React Native Web for web, and I felt like they were all just hacks glued together to get cross-platform support, and RN isn't even native, it still includes a Javascript bridge. Build dependencies and packages were a nightmare, things continuously broke. I tried Flutter afterwards and it just felt like a breath of fresh air. Everything "just…

I've had the exact opposite experience, but I mostly use Java over Flutter for Android. Expo can be fairly limiting and breaks a lot, but core React Native is wonderful and does everything I need with a couple exceptions (FCM and more fine grained microphone support). I also have a dedicated Android native module for my app, and a lot of React Native libraries can probably be consolidated down to one module and direc…

What do you think is the main reason for the difference between your experience and the parent's?

Re: React Native for Windows and Mac

#495

Earlier quoted context omitted.

https://angular.io/guide/upgrade

The point is precisely that I have to do that. 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.

If you can "upgrade", then it's not incompatible.

Every major revision of software has breaking changes (or as you call them, "incompatibilities"), some more than others (see Python 2 -> 3).

That doesn't mean it's "abandoned". Google made major API changes and renamed it to better communicate that it's not some simple JS framework – calling that abandoned is disingenuous. It's only abandoned in-so-far as every old version of every software ever gets abandoned at some point.

Re: React Native for Windows and Mac

#496
post #17

React Native scares me with its dependency webs: http://npm.anvaka.com/#/view/2d/react-native From my experience, it's really great to work with and definitely saves a ton of work, but the depgraph above fills me with doubt for use in sensitive applications such as in finance or healthcare. For this reason, I've been trying out Flutter or even considering to go back to native apps. Perhaps there's some kind of middle…

For those who just want a snapshot and not wait for the graph to draw

https://i.imgur.com/RT6Fj4c.png

Re: React Native for Windows and Mac

#497

Earlier quoted context omitted.

The point is precisely that I have to do that. 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.

If you can "upgrade", then it's not incompatible. Every major revision of software has breaking changes (or as you call them, "incompatibilities"), some more than others (see Python 2 -> 3). That doesn't mean it's "abandoned". Google made major API changes and renamed it to better communicate that it's not some simple JS framework – calling that abandoned is disingenuous. It's only abandoned in-so-far as every old ve…

Excuse me, I used imprecise language.

I cannot upgrade.

I have to port, due to the backwards-incompatible changes.

Those changes may well be for the better, but for those of us maintaining stable programs, porting means increasing risk of failure for no perceivable end user benefit.

Microsoft is much better at supporting old tools and software, at least historically.

Re: React Native for Windows and Mac

#498
post #268

React Native is best understood as an insurgent attack on native mobile platforms, funded by overwealthy and bloated companies that do not control mobile platforms, but feel entitled. Microsoft and Facebook attacking Apple and Google basically. IMHO it's not a sincere effort to make a nice platform. It moves fast and breaks things in major ways with each minor point release, with the current excuse being that it's no…

How are Facebook and Microsoft any more or less "bloated" than Google or Apple? Also Discord's iOS app is built with ReactNative, and it is a pretty feature rich application, seems like it works for those use it.

They have lots of money but without carrying the cost of maintaining an active hardware product line. Unless you count Oculus for Facebook and a few minor things for Microsoft but those are in the noise.

Re: React Native for Windows and Mac

#499
post #445

Earlier quoted context omitted.

I like this idea. Did you also archive the operating system the build was running on ? If not, this should be trivial to replicate today using docker containers.

We did! This was before docker. we stuck it on mag-tape and DVD, DVD stayed on-site, and the mag-tape went to Iron Mountain. We had escrow agreements with our customers (Chase, Citi, Amex, HSBC, Deutche, etc.) that if we went tits up, they would get a copy of the code with the docs. The thing that made it work, though, was the fire-drills. Once a quarter (at the beginning, later it was once a year), we would go buy a…

What a great routine! It's not a backup unless it's regularly tested.

Re: React Native for Windows and Mac

#500
post #493
post #459

Earlier quoted context omitted.

Hopefully soon Java will have a friction-less path to compiling to native. As of now, its quite difficult for anything that isn't trivial.

It has been trivial since 2000, but you had to buy a commercial JDK to get it.

It is not trivial. Have you tried compiling any large app with graal? Anything with Weld or hibernate or H2 embedded? It has a lot of friction and isn't as easy as just running mvn package.
Post reply on HN