Skip to content

billybimbob/fresh-music

Repository files navigation

fresh music

Made with Fresh

Fresh music is music streaming app modeled after Spotify, while being deployed on the edge with Deno Deploy. The overall design is a modified (and improved) version of this music app.

Performance

The website utilizes a mix of server-side rendering (SSR) and single-page app (SPA) design in order to achieve both fast initial load times and high interactivity.

Fresh is structured around islands architecture, which also helps contribute to the faster load times. Islands architecture enables the JavaScript code to be incrementally loaded (hydrated) on top of the base static html.

Preact signals are also incorporated to further boost performance. Using signals provides optimizations to client-side rendering by reducing the amount of virtual DOM diffing, and can even help skip rerenders entirely.