Spotify
Spotify logoSpotify · Feature trail

URL State Management with Redux

1 post · Jul 2017

What this trail covers

Spotify has developed Redux-Location-State (RLS), a Redux middleware that synchronizes specific pieces of application state with the browser's URL. This allows for a unified source of truth where both the Redux store and the URL accurately reflect the application's current state, enabling features like bookmarking, sharing, and using browser navigation (back/forward buttons) seamlessly. RLS supports configurable state mapping, initial state loading, and URL cleanup when state is reset.

All Spotify trails