question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

FastImage for Avatar

See original GitHub issue

🚀 Feature Proposal

It would be nice to use react-native-fast-image for avatar component.

Motivation

This library includes caching and other features needed in a real-world applications.

Example

import { Avatar } from '@ui-kitten/components';

const YourImage = () => (
  <Avatar
    size='giant'
    source={{ uri: 'https://unsplash.it/400/400?image=1' }}
  />
)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
artyorshcommented, Apr 5, 2021

@kockok you should use ImageComponent and not component

1reaction
artyorshcommented, Apr 13, 2020

@lesmo thanks for the details. Yes this makes more sense to extend this with a property, but it requires other libraries to be compatible at least with a props that the default Image accepts. I won’t to create a middlewares to support each of them 😄 So what I think is use a component prop which accepts a class component, like it is implemented in lists, e.g with ListHeaderComponent. This way users can do all the specific library things in a separate component.

Read more comments on GitHub >

github_iconTop Results From Across the Web

react-native-fast-image - npm
FastImage is a wrapper around SDWebImage (iOS) and Glide (Android). Features. [x] Aggressively cache images. [x] Add authorization headers. [x] ...
Read more >
r/selfhosted - Imagor 0.8.5: fast image processing server - now ...
Imagor 0.8.5: fast image processing server - now with animated GIF resize, crop, watermark and more. r/selfhosted - Imagor 0.8.5: fast image ......
Read more >
#tw fast image on Tumblr
See a recent post on Tumblr from @f41ry-l1ght5 about tw fast image. Discover more posts about tw fast image.
Read more >
fastimage - PyPI
Finds the size or type of an image given its uri by fetching as little as needed.
Read more >
React Native Fast Image Caching - Stack Overflow
The cache: FastImage.cacheControl.cacheOnly from FastImage means it wont do any network request, it will just try to find from the cache.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found