Closed slytter closed 1 year ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
react-insta-stories | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 13, 2023 0:45am |
Great contribution :) Thanks for the well-commented code! Can you also add this prop to the user documentation in README?
Hey @mohitk05, did you get a chance to look at my recent commits?
Hey @slytter I missed these updates, can you resolve the conflicts and update your PR?
Alright, it's merged!
Available in 2.6.2
!
Fixing #273
I've added a hook:
usePreLoader
intoContainer.tsx
that will preload both images and video fromcurrentId
towards the new proppreloadCount
which defaults to 1. We could also setpreloadCount
to 0, if we wan't to disable it by default (might be less opinionated)I've added some more images to example and it seems like its working perfectly when looking at the network profiler. (bit unsure about the video though)
I'm open to looking at any feedback :)