mrousavy / mrousavy/react-native-nitro-image

[Feature Request] Support for `placeholder` prop for using blurhash/thumbhash (or even any component like a skeleton) and `blurRadius` prop

Open
#74 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
652
Forks
37
Avg merge
56m
Merged PRs (30d)
6

Description

Hey @mrousavy,

I use expo-image throughout my app and a few key properties that are preventing me from switching over to Nitro Image are the placeholder prop and the blurRadius prop.

<NitroImage
    placeholder={{blurhash: "ABCD"}} // or thumbhash
    blurRadius={100} // makes the image blurred
/>

I also haven't tested it yet but most image libraries come with a Image and an ImageBackground component so that you can put children within the Image.

Does NitroImage support children like that?

Thanks as always,

Chris

Contributor guide

No contributing guide indexed for this repository

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

The issue does not name files or tests. Start at NitroImage's prop definitions and view entry point, then compare the requested placeholder, blurRadius, and children behavior with expo-image; done means the requested props and child content behavior are supported or their limitations are documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.