Open raza-jamil-reckon opened 3 weeks ago
It seems like the issue with the missing Pagination
component in react-native-reanimated-carousel
version 3.5.1 might be due to a bundling or publishing mishap, especially since you've confirmed that the component is indeed exported in the source code on GitHub but not present in the installed package. This discrepancy suggests that the component was not included in the final bundle during the packaging process.
To address this, you might want to check if there's been a more recent release or patch that fixes this issue. Sometimes, such problems are quickly identified and resolved by the package maintainers. If no such update exists, reaching out to the maintainers directly through a GitHub issue might be the best course of action to bring this to their attention and seek a resolution.
In the meantime, as a workaround, you could consider manually adding the Pagination
component to your project. This would involve copying the component's code from the GitHub repository into your project, ensuring you also meet any of its dependencies and properly integrate it with your existing setup. While not ideal, this could allow you to proceed with your project until an official fix is released.
Remember to keep an eye on the repository for any updates or patches that address this issue, and update your package accordingly once a fix is available.
To continue the conversation, mention @dosu.
same issue
Documentation references are for the v4.0.0 APIs, it seems
See https://github.com/dohooo/react-native-reanimated-carousel/tree/v3.x.x/src for the appropriate source
Same issue here:
Cannot read property 'Basic' of undefined carousel
Sry, v3 will no longer be updated. Please use v4.x alpha if u want to use the pagination component. My work is quite busy and I don’t have much time to maintain multiple version branches, but I will try my best to release the official v4 stable version ASAP. Plz lmk if you tried v4 alpha and it works well.
Sry, v3 will no longer be updated. Please use v4.x alpha if u want to use the pagination component. My work is quite busy and I don’t have much time to maintain multiple version branches, but I will try my best to release the official v4 stable version ASAP. Plz lmk if you tried v4 alpha and it works well.
Thanks I updated to v4 and that solved the issue
@dohooo
v4 4.0.0-alpha.12 - Pagination works fine on IOS and android , dots are also SYNC as well .
But on android there some Glitch while swiping slider , Can you please look into this as well .
@dohooo
v4 4.0.0-alpha.12 - Pagination works fine on IOS and android , dots are also SYNC as well .
But on android there some Glitch while swiping slider , Can you please look into this as well .
me too
where i can find v4 of lib @dohooo
where i can find v4 of lib @dohooo
npm i react-native-reanimated-carousel@4.0.0-alpha.12
Guys, pagination was not added on V3.
Check this: https://github.com/dohooo/react-native-reanimated-carousel/releases/tag/v4.0.0-alpha.11
It was added on 4.0.0-alpha.11
How to add it? Just install it as usually "react-native-reanimated-carousel": "4.0.0-alpha.11",
npm i react-native-reanimated-carousel@4.0.0-alpha.11
I would suggest to install directly the alpha.12, which is the latest alpha, fixing some other issues
Describe the bug Trying to follow the sample here https://reanimated-carousel.dev/Examples/parallax on version 3.5.1 and there is no
Pagination
component exported fromreact-native-reanimated-carousel
.I followed into the package and indeed there is no export. Here's the export list from index.d.ts file.
To Reproduce Steps to reproduce the behavior:
Pagination
component fromreact-native-reanimated-carousel
Expected behavior Import component
Screenshots If applicable, add screenshots to help explain your problem.
Versions (please complete the following information):
Smartphone (please complete the following information):
Additional context Seems like something gone wrong in bundling? I can see that the component is exported in the source code here https://github.com/dohooo/react-native-reanimated-carousel/blob/main/src/index.tsx#L2 but it's just not there in the installed package.