Skip to content

GaborWnuk/image-preview-react-native-demo

Repository files navigation

image-preview-react-native-demo

Build Status

Demonstration implementation of Image Preview technique - to achieve fast image previews immediately as placeholders, using around 200 bytes of image data.

Mechanism was described by Facebook in August 2015.

Installation

Demo is based on React Native 0.38 (at least) and dependencies described in package.json file.

Build is pretty straightforward:

$ npm install
$ react-native run-ios

or

$ npm install
$ react-native run-android

That's it!

Preview

Preview below was prepared on 2G, high latency connection. Blurred preview is delivered immediately with article data (in GraphQL response), with 190 bytes JPG file (with 620 bytes of headers trimmed and added on clients side).

Preview

About

Demo implementation of Image Preview in React

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published