Live data from Hacker News

React Native for Windows and Mac

microsoft.github.io

111–120 of 505 posts

Re: React Native for Windows and Mac

#112
post #103
post #5

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.

> Recently flutter overtook react native on Google trends. How did you query this? I want to have a look, but the fact "flutter" shows data since 2004 means the terms I'm using are inflated [1]. Flutter is a dictionary word after all. [1]: https://trends.google.com/trends/explore?date=all&geo=US&q=r...

Don't limit your search to the US. The "dictionary word" problem is reduced in worldwide search, which shows a more convincing trend for flutter. Though I wouldn't say it has a large or clear-cut lead on React Native.

https://trends.google.com/trends/explore?date=all&q=react%20...

Re: React Native for Windows and Mac

#113
post #98
post #6

I'd love to abandon my C/C++ UI frameworks for React, but I need - consistent rendering/support across multiple platforms and versions - multiple windows - rendering to a window that isn't owned by the UI being rendered or created by the framework Can I do that all in React native? Edit: don't need to bring up electron.

Sciter then ( https://sciter.com ): - multiple platforms... Yes: Windows (x32,x64, ARM64), from XP to 10, MacOS, Linux/GTK, IoT and mobiles. - multiple windows - Yes. Multiple desktop windows and you can even render separate DOM elements in popup windows. - rendering to a window that isn't owned by the UI being rendered Yes, you can render it on top DirectX, OpenGL, Vulkan (coming) or in child window/nsview/gtkwidget…

Kind of a chicken and egg situation, I looked at sciter for a project about a year ago and estimated that it would cost more time/money to get things off the ground in your framework than using my existing codebase and frameworks with larger ecosystems.

I can't really commit to sciter and your flavor of JS until it has a larger community, more docs, and more onboarding materials so I can get teams up to speed and working quickly, reinventing fewer wheels, and have more discoverability in your docs and community so I can even know how to do things and what I don't need to rewrite.

Some bencharks comparing engine performance to V8 would also be much appreciated.

Re: React Native for Windows and Mac

#114
I've used React Native for a client and, whilst it was super clunky, I still enjoyed being able to write React to deploy to mobile. With React Native for Web, you can technical write code that writes to a bunch of different platforms, a big selling point for businesses.

Re: React Native for Windows and Mac

#115
post #5

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.

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

Re: React Native for Windows and Mac

#116

Is anyone able to provide a map of modern frameworks? With React-native, React-redux, Angular, Vue and probably a bunch of others. I'm really not sure what's relevant now and what was relevant 6 months ago. I'm genuinely curious, but it's pretty difficult to grasp and no framework homepage is going to tell you "Don't use me, I'm about to be a dead project!" and every developer will tell you their preferred framework…

I don't know how often a project dies because it has planned obsolescence vs. people stop using and updating it, but for the latter case I think https://2019.stateofjs.com/ is pretty great.

Thanks, that's exactly what I want!

Re: React Native for Windows and Mac

#117
post #5

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.

The community is finally at its first apex. I tried it this past weekend, and the VSCode setup was so sexy and easy to get started. I dropped React-Native in a heart beat, even losing a few weeks of work.

The biggest gripe I have with React-Native is the many JS packages on npm that we can't use due to how the code is exported. It's a huge hack job, which Flutter absolutely destroyed by having everything I needed as a package that just worked.

One thing I'm looking at on Flutter, is how their public packages age. If I can't use a 3 year old package on modern day Flutter, there will be some big problems coming soon.

Re: React Native for Windows and Mac

#119
post #57

Earlier quoted context omitted.

EDITED React native's GUI compiles to native code. Or something like that. It is very different from Electron.

No, React Native still uses Javascript, not “native code”. It’s different in that it doesn’t use HTML or CSS (which is a major difference, sure).

Does React Native use V8 internally then?

Re: React Native for Windows and Mac

#120
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…

Well javascript's package management is designed around the micropackage.

It really doesn't bode well for microservices of any large scale complexity, unless there are concentrated meganodes with limited interconnects like cities and superhighways.

Post reply on HN