localStorage | Checking if a value exists before setting it – Reactjs
I'm supposed to paste a youtube link into a form, and eventually, it'll add some information to the localStorage under the key "songs". My question is - how can I check if this link has been already added (and if…