Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is MITHRIL.js fit fot mobile development? have beachmark? #2204

Closed
anlexN opened this issue Aug 21, 2018 · 6 comments
Closed

Is MITHRIL.js fit fot mobile development? have beachmark? #2204

anlexN opened this issue Aug 21, 2018 · 6 comments
Labels
Type: Question For issues that are purely questions about Mithril, not necessarily bug reports or suggestions

Comments

@anlexN
Copy link

anlexN commented Aug 21, 2018

No description provided.

@lhorie
Copy link
Member

lhorie commented Aug 21, 2018

Depends on what kind of mobile development.

If you're comparing with something like Ionic, yes, I've used Mithril for mobile and it runs fine. There are independent benchmarks elsewhere (e.g. Stefan Krause's benchmark), which show that most frameworks these days have performance profiles suitable for mobile development (sub 3.0 geometric mean results). There's also some benchmarks in this repo. In the framework comparison page there's a comparison between implementations of dbmon - a stress test originally created by the Ember team - for mithril, react and some other frameworks). You can run them from your phone to see what FPS count looks like for each.

Now, if you mean you're building a project dealing with things like sensors, you'll probably want to use the native SDK.

@cmnstmntmn
Copy link
Contributor

cmnstmntmn commented Aug 21, 2018 via email

@anlexN
Copy link
Author

anlexN commented Aug 22, 2018

so @lhorie , what mobile development platform do you recommand ?

@lhorie
Copy link
Member

lhorie commented Aug 22, 2018

Again, it depends on what you're doing. If you're doing a responsive thing that targets web and ios/android, something like cordova + mithril is hard to beat. React Native leaves quite a bit to be desired in terms of code reusability and I actually started noticing seeing various issues fairly early (animations stuttering, debugger disconnecting randomly, etc). I also experimented with weex, but found it very quirky and it produced terrible web code. There are some other newer offerings that I haven't evaluated yet, but from a glance they didn't seem much more advanced than the ones I did look into.

If you don't care about web at all, you might be better served by the native SDKs themselves (best end product quality, best debuggability, best employability, IMHO) or possibly something like Flutter (google backed, but haven't used myself, so take w/ a grain of salt).

@filisko
Copy link

filisko commented Aug 23, 2018

I use Mithril.js with Cordova to consume a REST API amongst other stuff and runs very nice.

@mpfau
Copy link
Contributor

mpfau commented Sep 24, 2018

We also use mithril as part of our native apps and are very happy with it. We needed to implement a workaround for improving fast rendering of large lists but besides that, we use pure mithril for all other parts of the UI.

@dead-claudia dead-claudia added the Type: Question For issues that are purely questions about Mithril, not necessarily bug reports or suggestions label Oct 28, 2018
@MithrilJS MithrilJS locked and limited conversation to collaborators Jan 29, 2022
@orbitbot orbitbot converted this issue into discussion #2731 Jan 29, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
Type: Question For issues that are purely questions about Mithril, not necessarily bug reports or suggestions
Projects
None yet
Development

No branches or pull requests

6 participants