meliorence / meliorence/react-native-snap-carousel

[Feature Request] Interop with react-native-fast-image

Open
#569 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
10.5k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

Is this a bug report, a feature request, or a question?

Feature request

Description

In react-native-snap-carousel the ParallaxImage component uses a hardcoded <Animated.Image ... /> component provided by "react-native".

Can we add a prop to allow users to provide their own version of Animated.Image?
This would allow users to use the Animated Image components from 3rd party packages like e.g. react-native-fast-image. *(Which are of course compatible with the react-native's Animated.Image interface)

I'm happy to create a PR if this feature is acceptable.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the ParallaxImage component and the hardcoded Animated.Image usage described in the issue. Read how its props are defined and how the image is rendered, then check the existing component tests or examples if present. Done means callers can provide a compatible animated image component, while the current React Native behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
frontend, mobile
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.