Spotify has a web API that we can use in our applications. In this article, I will show you how to use the Spotify rest API and make a request to some endpoints. You can check the API reference here.
Valtio is a global state management library for React. Valtio is similar to other state management libraries such as Redux or Context API where you have a global context but it is much simpler to setup.