rwieruch / favesound-redux

🎶 A SoundCloud Client in React + Redux running in production. Live Demo and Source Code to explore React + Redux as a beginner.
http://www.robinwieruch.de/the-soundcloud-client-in-react-redux/
1.59k stars 249 forks source link

SyntaxError: Unexpected end of JSON input in home feed infinite scroll #90

Closed ohadschn closed 6 years ago

ohadschn commented 6 years ago

I'm sometimes getting the following error while trying to invoke infinite scroll in my home feed:

Uncaught (in promise) SyntaxError: Unexpected end of JSON input
    at bundle.js:7
    at <anonymous>

image

rwieruch commented 6 years ago

This would need some investigation. I never got this error myself.

chriszhangusc commented 6 years ago

Maybe it is a good idea to activate source-map in webpack for better debugging experience?

rwieruch commented 6 years ago

Didn't see this PR @MiniPekka https://github.com/rwieruch/favesound-redux/pull/81 Should I just merge it for source maps?

chriszhangusc commented 6 years ago

@rwieruch Yeah, I think source map would be great for development. And I also think it would be a great opportunity to upgrade to webpack 3?

rwieruch commented 6 years ago

Sure! Would be awesome to see it upgraded 🎉

chriszhangusc commented 6 years ago

@rwieruch I have upgraded to webpack3. #99

rwieruch commented 6 years ago

Wow. Nice @MiniPekka 🎉 🎉 I will merge it!