New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-native-fast-image

Package Overview
Dependencies
Maintainers
1
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-fast-image

🚩 FastImage, performant React Native image component.

  • 8.6.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
226K
increased by1.68%
Maintainers
1
Weekly downloads
 
Created

What is react-native-fast-image?

react-native-fast-image is a performant React Native image component that prioritizes speed and efficiency. It offers features like caching, priority loading, and progressive loading, making it ideal for applications that require fast and reliable image rendering.

What are react-native-fast-image's main functionalities?

Caching

This feature allows images to be cached, reducing load times for images that have been previously loaded.

import FastImage from 'react-native-fast-image';

<FastImage
  style={{ width: 200, height: 200 }}
  source={{ uri: 'https://example.com/image.jpg' }}
  resizeMode={FastImage.resizeMode.contain}
/>

Priority Loading

This feature allows you to set the priority of image loading, ensuring that important images are loaded first.

import FastImage from 'react-native-fast-image';

<FastImage
  style={{ width: 200, height: 200 }}
  source={{ uri: 'https://example.com/image.jpg', priority: FastImage.priority.high }}
  resizeMode={FastImage.resizeMode.contain}
/>

Progressive Loading

This feature allows images to load progressively, showing a low-resolution version of the image first and then gradually loading the high-resolution version.

import FastImage from 'react-native-fast-image';

<FastImage
  style={{ width: 200, height: 200 }}
  source={{ uri: 'https://example.com/image.jpg', headers: { Authorization: 'Bearer token' } }}
  resizeMode={FastImage.resizeMode.contain}
/>

Other packages similar to react-native-fast-image

Keywords

FAQs

Package last updated on 29 Aug 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc