@react4tv/react-tv-fast-image
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

@react4tv/react-tv-fast-image

React4 SmartTV library best performant React image component, includes many utilities

Most of the browser's Image, element handles image caching by default. Even a lot of people have noticed:

  • Caching is not controlled.
  • Show partial images.
  • Low performance when loading many images.
  • Affects the main thread.
  • Loading 1 image queue if it fails, it will lead to the error of the rest of the images

SmartTVImage is an Image replacement that solves these issues. SmartTVImage using WebWorker

Features

  • [x] Using worker.
  • [x] Manager cache images.
  • [x] Preload images.
  • [x] Placeholder.

Installation

Using npm:

npm install --save @react4tv/react-tv-fast-image

or using yarn:

yarn add @react4tv/react-tv-fast-image

Readme

Keywords

none

Package Sidebar

Install

npm i @react4tv/react-tv-fast-image

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

178 kB

Total Files

5

Last publish

Collaborators

  • tconns94