Adding localStorage to my React app

In this video I show how to add local storage to persist data and some of the problems I had to figure out before getting it working. Mainly the “
SyntaxError: Unexpected token < in JSON at position 0″ error.

This website is created with Gatsby by Alex Nielsen. I am currently seeking full-time web development positions in the New York City/New Jersey area.