mrousavy/react-native-blurhash

By GitHub - 2021-03-03

Description

🖼️ A library to show colorful blurry placeholders while your content loads. - mrousavy/react-native-blurhash

Summary

  • Now everytime a user loads a feed of posts from my database, I can immediately show a component (with the post's .blurhash property) over my component, and fade it out once the component's onLoadEnd function has been called.
  • Caching Image A component caches the rendered Blurhash (Image) as long as the blurhash, decodeWidth, decodeHeight and decodePunch properties stay the same.
  • At the moment, cosine operations are only cached on Android.

 

Topics

  1. Mobile (0.38)
  2. UX (0.23)
  3. Database (0.08)

Similar Articles

Automatic Social Share Images

By ryanfiller.com - 2020-12-11

I am a designer, developer, illustrator, and maker living and working in Memphis, Tennessee. This is my blog and portfolio.

A Thoughtful Way To Use React’s useRef() Hook

By Smashing Magazine - 2020-11-19

In a React component, useState and useReducer can cause your component to re-render each time there is a call to the update functions. In this article, you will find out how to use the useRef() hook t ...

React Hooks Cheatsheet: The 7 Hooks You Need To Know

By freeCodeCamp.org - 2021-02-08

This new tutorial will show you everything you need to know about React Hooks from scratch. I've put this cheatsheet together to help you become knowledgeable and effective with React Hooks as quickly ...

Write Vue like you write React

By DEV Community - 2021-02-02

With the Vue 3 Composition API, you can write functional components. What happens if we write them with JSX templates? Are they similar to React functional components?. Tagged with react, vue, javascr ...