this post was submitted on 26 Apr 2024
453 points (96.7% liked)

Programmer Humor

31214 readers
134 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 4 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 2 months ago (7 children)

I assume you mean react native, not react, unless you're using something like capacitor. React native is a far shot from react and is much more annoying to deal with.

[–] [email protected] 1 points 2 months ago (6 children)

Yes I mean react native

Wouldn't be bothering with it if I were just working with web

[–] [email protected] 1 points 2 months ago (5 children)

Using capacitor as a native shell for your web app can be very nice, actually. It lets you hook into native API calls and build native apps while hardly ever having to write native code, unless you want to, which presumably you don't since you're writing react native.

[–] [email protected] 1 points 2 months ago* (last edited 2 months ago) (1 children)

Honestly doing it again I'd just write in xamarin or something not web orientated because as it turns out the web app is going to need to be separate anyway

I might look into capacitor but is that not basically just electron?

[–] [email protected] 1 points 2 months ago (1 children)

I guess you could see it that way, but web views are inherent in mobile operating systems, they don't need to be bundled into your app, so capacitor apps aren't big bloated memory consuming applications like electron apps are. There's a lot of well made apps running on capacitor that you wouldn't even know, especially if you use something like ionic framework to actually have the look and feel of native mobile apps.

[–] [email protected] 2 points 2 months ago (1 children)

Definitely need to look into this for future, would make dev so much easier to just write for web and not have to deal with react native's bullshit

[–] [email protected] 1 points 2 months ago (1 children)
[–] [email protected] 1 points 2 months ago

Had a look at it, looked worse than react

load more comments (3 replies)
load more comments (3 replies)
load more comments (3 replies)