5 ms·
I really want React for desktop apps. Currently we are running into some performance issues with large datasets and spreadsheets, and being able to offer a perf
by d0100 10y ago
I really want React for desktop apps. Currently we are running into some performance issues with large datasets and spreadsheets, and being able to offer a performant desktop app would be ideal.
Right now we're considering using .NET and ReoGrid, since Qt is too expensive and we only target Windows anyways.
- NHern031 10y ago.NET and WPF is a great choice for desktop applications. I have been creating desktop applications with WPF for the better part of a year, I find it very nice.
- JD557 10y agoIf you have a performance problem and you only target one OS, using React seems more like a band-aid than a real solution. I assume your app is currently written in javascript, because I don't see any other reason to use React for performance. I think you should consider moving away from JS, it will probably save you from future problems.
- d0100 10y agoIt was originally supposed to be (and built as) a web app, but it's only being used inside a corporate network (yay requirements). So that defeats the original purpose. Might as well make a desktop app.
- rco8786 10y agoYou can use Electron and do that. Not a ton of love for it around here because omg a web page as a desktop app the horror but I've had good experiences with it. (And if you e ever used Slack or Atom, you've used Electron)
- coldtea 10y ago>You can use Electron and do that. Not a ton of love for it around here because omg a web page as a desktop app the horror but I've had good experiences with it. Parent specifically mentions they want to get away from the performance issues of web apps [1] -- and you suggest they use Electron -- and even bring up Atom and Slack as examples, the worst CPU/slowness offenders of all time? [1] "Currently we are running into some performance issues with large datasets and spreadsheets, and being able to offer a performant desktop app would be ideal"
- rco8786 10y ago"I really want React for desktop apps". There's currently one way to achieve that, was simply suggesting it. They didn't mention web apps at all.
- idobai 10y agoElectron is the worst thing happened to desktop apps lately. They're slow and resource-hungry. It's a really bad idea.
- pierrec 10y agoYou can use Electron to handle performance-sensitive large datasets and spreadsheets for a desktop app. But I think there is an even better solution for this: you could program it in DOS 5.0 batch and ship it with a Windows 3.1 VM to really juice out that last bit of performance and efficiency.
- zerr 10y agoWhy are you unable to use free Qt?
- d0100 10y agoJust a bit of FUD on the LGPL license and the like.
- wizardtrees 10y agoCheck out React Virtualized. I have used it with great success and large datasets. https://bvaughn.github.io/react-virtualized/#/components/List https://bvaughn.github.io/react-virtualized/#/components/Lis... https://github.com/bvaughn/react-virtualized https://github.com/bvaughn/react-virtualized
- migueloller 10y agoTake a look at React Native for macOS [1]. [1] https://github.com/ptmt/react-native-macos https://github.com/ptmt/react-native-macos