How to optimize for low end mobile? #244
-
I have a old phone with 2GB ram and 16GB storage. Everything lags there. I am using these componennts Text animations
Background
Animation
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
The short answer - you can't - animations like these are not built for low end devices. Out of the components you listed, the biggest problem for low-end devices are Squares and SplashCursor. There's no way something like the SplashCursor component would ever work on a 2GB device. Generally, you want to avoid animations on mobile anyways. Even the React Bits landing page has everything turned off for mobile, WebGL components are simply not reliable enough to use on mobile. |
Beta Was this translation helpful? Give feedback.
-
One potential solution for you would be to build a custom renderer based on the device information, but this has pretty limited support. See below |
Beta Was this translation helpful? Give feedback.
One potential solution for you would be to build a custom renderer based on the device information, but this has pretty limited support. See below
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/deviceMemory