Comments (7)
Initially I was going with Image
component but faced some issue where Image was not loading from tmdb image endpoint
If you want, you may work on this
from rive-next.
@M-YasirGhaffar ,
LazyLoadImage
has been intentionally added
Without it the Images use to load line-by-line (raster scan)
We have used the react-lazy-load-image-component
to solve this issue by loading the image only when the image has been fully loaded
And as we are using LazyLoadImage
, we cannot use of next/image
And react-lazy-load-image-component
's LazyLoadImage
has been used in many large-scale projects for optimized and production ready image loading.
Initially we were not using this react-package but when slow internet the images use to load in raster scan fashion, which looks bad for a production ready app/web.
So this issue becomes irrelevant in image load optimization.
from rive-next.
I have tried using motion.img
and yes it work well on local machine,
but when deployed and on slow internet it does the same raster scan
Initially our project was using motion.img
only, and I didn't want to switch to a new package for lazy load,
but we had to switch due to issues after deployment
so always check in deployed and slow internet environment
And if there is space for improvement, then I will not close this issue as of now 👍
You can ask for environment vars using gmail for better functionalities
from rive-next.
Thanks @M-YasirGhaffar for opening this issue!
For COLLABORATOR only :
-
To add labels, comment on the issue
/label add label1,label2,label3
-
To remove labels, comment on the issue
/label remove label1,label2,label3
from rive-next.
First issue by @M-YasirGhaffar
Issues Details of @M-YasirGhaffar in rive-next :
OPEN | CLOSED | TOTAL |
---|---|---|
1 | 0 | 1 |
from rive-next.
I have thought of a solution which requires changes at a lot of places (hence plenty of free time is required).
Use of LazyLoadImage
is causing the images to load with a delay. I think it would be better to use motion.img
since components are already using motion animations.
Leaving my suggestion here just in case someone would like to solve this issue.
from rive-next.
Although LazyLoadImage
makes the loading animation look consistent but it still takes a lot of time for images to load. I have tried with one component on my local machine and use of motion.img
(adjusting size using their inline property instead of scss) seem to have visibly reduced the loading time.
Maybe we can find a way to add more lazy loading and optimized images component like motion.img
or next/Image
You can close this issue if you think its irrelevant but i think there is a space for improvement.
from rive-next.
Related Issues (10)
- questions regarding the env details HOT 6
- [💡 Idea] File type labels HOT 3
- Scrolling dragging HOT 6
- scroll not working on firestick HOT 3
- where do i obtain these variables from HOT 2
- I figured out where you used apis from but still need some help HOT 8
- No dub in anime HOT 3
- It's a request on settings HOT 3
- vidsrc scraper HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rive-next.