Is anyone using React Native for Desktop, Mobile, and Web?
Web. But why for Desktop?? Who the heck will do this with all the restrictions you have to suffer for performance and so on?? It renders native but the app is react means javascript. So the rendering looks fine but the app…is still javascript. Slow and not as flexible as other languages. In my view.
For web it is a good solution. For IOS and Android I am not using stuffs like this so…I am not convinced to work with it.
Xanadu rocks for me, but I’d also like to learn more about React. I’ve also been having fun with JavaScript.
I’m interested in if it can really produce Desktop, Mobile, Web like Xojo promises.
It can, yes. But in my use cases means for office software, medical software and process software the performance of the results is too poor and the capabilities are small. I need threading and many stuffs more. And I need the ecosystem behind for example office automation. That all was leading me to JavaFX and Java Swing for Desktop. React for Web projects is nice. No question. But for Mobile…the renderer is native. But the Software you have written runs as javascript. Something I would consider as a problem when and if you need performance. The security reasons I will not comment here at all cause it is a complex discussion
Pretty sure it compiles native, and uses native api’s.
I don’t think JS speed is going to be the problem here.
Now, being run by meta, that could be a problem in that facebook’s interests in a language would be prioritized over anyone else’s needs.
It is definitely. We have tested this and for our uses it is: too slow. Maybe it runs for you. Congrats.
And no. Javascript stays as JavaScript and it uses native API. But your Software runs as written. There is no ahead of time compilation for JavaScript to machine code. Sad but it is what it is. A language to write WebApps. That Google uses it as Language for mobile Apps is the result of the Idea: getting natuve UI. But the App runs as it is: as javascript. Inside your react it is rendered with a javascript processor. So it is a speed problem. While there is no enough speed when you have big tables, database operations and for example string concatenations. Not comparable with the Speed of C#, C++, Java, Python
It’s from Meta.
For me the main reason to never use React Native.
Okay I can understand that argument. The reason why I am not using so many technologies. The entire point is that they can decide it will die, it will change it’s entire API and so on. That’s my reason to use Java. But it is not the only technology made by a big one. Google, Amazon and all the others are also providing technologies. I am not sure to avoid all of them
We use React for work and I’ve tried, several times, to learn it. It’s a mess in my opinion and seems to have a bunch of hand wavy ‘just do this’ Javascript that doesn’t make any sense. I told one of my coworkers this and he didn’t disagree: React seems like it was written by a caffeine addled CS major who realized Sunday night that their project was due Monday morning.
I’ve looked at some other frameworks and I’m leaning towards Svelte. Seems more ‘programmy’ and way more sane than React. When Wails version 3 gets released I’ll probably use Svelte.
That’s my feeling for many frameworks. I start reading about how to get started and it’s crazy complex. But I guess you have to get used to it.
The entire problem is: it is a complex environment. That’s why Vaadin is also complex. You can’t compare it with simple html. But also you can’t compare the output with simple html or with PHP. Solutions in complex environments making complex problems. And the frameworks are complex. With React Native we have a mess. Yes. No question. But that is with others also the case. We have always to deal with technology. Looking on Xojo web it seams to be so crazy cimple to build Web applications. But it is not. Not at all. While Xojo takes care of this business it is not something the user is taking care of. The price is: more than 100 or 200 concurrent users are impossible.
Also using other serverbased solutions isn’t simple. Using for example JPro for JavaFX applications in Browser it is also complex to do. What ever, learning one of them costs time.
There are probably 4 or 5 of us Xojo developers that haven’t gotten the hang of React due to its complexity and hand wavy-ness. Probably doesn’t help that we started in a complex React project. At least with Svelte what it does makes sense even if I’m not sure where to quite start (but then I’ve not really tried very hard yet).
This makes me feel like I’m on the right path with Xanadu/PHP. Thanks!
When I first used Xojo, I used it to create and sell shareware type apps. When I found that Xojo had Web apps, I thought OMG, that could replace FileMaker. We know how that turned out…
It’s taken a long ass time, but I’m about a month out from my goal of replacing a FileMaker vertical market app. When I get closer, I’ll share more info about Xanadu.
String concats & database ops I try to keep outside of the local app.
If it weren’t available to me, I think I’d have a lot of problems like you said.
I’ll be grateful for not hitting that.
I have controller apps without any server. I have to do everything inside of my app.
I’ve been asked by a client to look into a product called Expo
And it use react native
Lets just say its interesting
It’s all JS so things that a compiler might catch at compile time generate runtime errors instead
But so far it can generate the same app for web, iOS and android which is interesting
I’m still learning
yep. it’s one of the options we’re considering for a replacement for LC, along with xojo and flutter
if the client hadn’t asked me to look at this I probably wouldnt have since ultimately they have needs for desktop, web, & mobile
Not all from a single project but having several different dev languages to address only a portion of those might be painful
We’ll see
the thing about react native, flutter, and the other frameworks that are responsive, is that you can get something that is presentable/usable on > 1 platform. the thing about RN that is interesting is that you can use CSS to customize the look for each platform, if you need to/want to, and you can use a prototyping tool to do some of that work for you, too.
keep us posted on how it goes, and what you think of it.
Instead of using pure React Native.
Try NSB/AppStudio.
https://www.nsbasic.com/
It is good and removes a lot of scripting headaches.
And it is way better then Xojo.
Also check this out.