title: localStorage suddenly broken
body: <p>EDIT:
  Found out it was redux-persist who had breaking changes in a patch revision.</p>
  
  <hr>
  
  <p>I'm developping a webapp in Node, React, Redux, Webpack, etc. One of the packages (<a href="https://github.com/rt2zz/redux-persist" rel="nofollow">redux-persist</a>) suddenly throws an error (<code>Uncaught TypeError: storage.getItem is not a function ( persistStore.js:99</code>) when rehydrating the state (reading from localStorage).</p>
  
  <p>Hints:</p>
  
  <ul>
  <li>This problem does not occur on my collegue's environment.</li>
  <li>This happened after trying to update my packages to Babel 6. But I don't see why this would be related.</li>
  <li>I tried <code>npm cache clean</code></li>
  <li>I tried deleting and re-cloning my repo. </li>
  <li>I tried <code>brew upgrade</code> and OSX updates (why not anyway!?)</li>
  <li>It happens on <strong>Chrome</strong>, <strong>Safari</strong> which is the first time I opened it, and <strong>Firefox</strong> which I just installed for this purpose.</li>
  <li>I tried <code>git reset --hard; git clean -xfd; npm install</code> to a state before ever using redux-persist, and <strong>it didn't throw the error.</strong></li>
  </ul>
  
  <p>My conclusion is that it is clearly related to my environment, since I can't find anything on this on the web, plus it's not reproducible on my coworker's environment. But I'm out of ideas.</p>
  
  <p>Thanks for your help.</p>