Skip to content

davidwwu/dog-breed-masonry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This is a quick demo which lazy-loads all images from the Dog API.

This app is bootstrapped using create-react-app with following packages installed:

TODO

There are some improvments I'd like to make if given more time.

  • Implement dynamic heights so the image ratio is closer to original as shown in example here.
    Note that the solution implemented in the example requires heavy overhead computing. If the image list is large (20k+, take the dog-api for example), the performance will drop significantly.
    One way to improve this is to set up a server that computes the image dimensions before serving them to client side.
  • Improve styling for mobile view: currently the responsive window size only supports widths down to 400px.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published