Get the latest tech news
Show HN: Somehash – A Blurhash-inspired exploration
The time between visiting a website and seeing its content fully loaded offers creative space to capture a user's attention and keep them from leaving.
It offers quick loading placeholder images that do a great job of capturing the attention of visitors until the actual content is ready. However, to prevent cumulative layout shift, it's essential to know the aspect ratio of the space the Somehash will temporarily occupy. The data stored in the JSON file is decoded and passed to the component responsible for rendering the specific version of the hash.
Or read this on Hacker News