MobX delays on iOS mobile only #4538
Unanswered
pkmelee337
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all, I've created quite a simple app with Vite React swc, Typescript, MUI, and Mobx. On Desktop and android web browsers the app is superfast and responsive, however on iOS somehow there is a 500-1000 ms delay on a lot of components. I narrowed it down to the mobx state. An example is that I'm setting a isFetching boolean (among other stuff) on my store before fetching some data in a mobx flow. This is making the page unresponsive for a short period. When I just remove setting that boolean, it's fast again. And it's not the loading code because when I show the loading code without setting the isFetching boolean, it's fast again. And again, this is only on iOS and with multiple components. (opening modals, etc) Would love to hear is someone is familiar with something like this.
Beta Was this translation helpful? Give feedback.
All reactions