I recently discovered music for programming: hypnotic sounds, without words, that instead of distracting me, allow me to create a concentration bubble. Quite effective when I start to lose focus, to get tired or when there are people around.
My current favourites are the 63 playlists of Music For Programming
There are many more on the web, like the one of freecodecamp or this 50 Spotify playlists to concentrate.
Photo credit: yamakassi
Rails & React dev