this post was submitted on 16 Aug 2023
11 points (100.0% liked)

Ask Experienced Devs

1233 readers
2 users here now

Icon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 1 year ago
MODERATORS
 

For a personal project, I’m not exactly sure how to decide between cross-platform mobile frameworks (e.g. React Native, Ionic, Flutter, etc.).

I know a lot of it is use-case based, so as an example consider a highly simplified social media with creating posts with text and photo, editing your profile, and viewing/following others. What works best here and why?

For my project, I do have a web app as well built using NextJS, and I have a decent amount of experience with React. I’ve also used Flutter in the past and found it pretty easy to work with, but I’ve never tried my other options.

As far as I’m aware, most people generally recommend staying away from Ionic? I’m not exactly sure why that is or if that’s just an old sentiment.

Thanks!

top 8 comments
sorted by: hot top controversial new old
[–] DeprecatedCompatV2 4 points 1 year ago (1 children)

Flutter is pretty nice and the experiencd I've had has been pretty smooth. It also has a really awesome hot reload feature, and you can run your "mobile app" on your dev machine as long as you aren't using any mobile-only APIs in the particular feature.

[–] hayhay 1 points 1 year ago

Yeah Flutter seems like the winner for my Project. I think the fact that I've worked with it in the past, and that it feels very react-y in some ways just makes it a lot nicer for me.

Plus... Hot Reload was a godsend haha

[–] [email protected] 4 points 1 year ago (1 children)

I can't speak directly to those frameworks, but--while there are some frameworks better suited to certain use cases, there's also a fair bit of overlap. So I recommend you go with whatever you're most comfortable with--try out a "Hello world" with a few different options and go with whichever one you like best.

[–] hayhay 1 points 1 year ago

I'll be sure to give it a try!

What other frameworks are you referring to and what would they be more well suited to?

Thanks!

[–] [email protected] 3 points 1 year ago (1 children)

Just to throw in the first comment, I've used Ionic for a small app and had nothing but a pleasant experience. Curious to hear why people are against it.

[–] hayhay 2 points 1 year ago

Yeah I've looked through the website and it seems pretty good. I think being able to use it with vanilla React is really appealing to me, especially because (if I'm not mistaken) I can use any normal library I'm familiar with (such as tailwind)?

[–] jmk1ng 3 points 1 year ago

Use whatever is most enjoyable to you. You'll be most productive working in a framework you like as opposed to one people online convinced you was "right".

Take an hour or two with each. Use whatever is clicking best with you.

All these options are perfectly sound.

[–] [email protected] 2 points 1 year ago

I haven't done a ton, but I've used Xamarin for more general apps (great if you need to interact with anything Microsoft, like Azure). And I've used libgdx for a game I'm working on. I actually enjoy Java, so I tend toward those platforms when I have the option.