Use webStorage or a webStorage polyfill as a React store