kentcdodds / advanced-react-patterns-v2

Created with CodeSandbox
https://codesandbox.io/s/github/kentcdodds/advanced-react-patterns-v2
1.51k stars 567 forks source link

Running app locally breaks after page refresh #36

Closed sethbergman closed 6 years ago

sethbergman commented 6 years ago

I've cloned the code sandbox as well as this repository to confirm this behavior. After completing the setup and starting the app locally, the pages do not display after hitting refresh in the browser.

node v10.4.0 npm v6.1.0 _Linux 4.13.0-45-generic #50~16.04.1-Ubuntu x8664 GNU/Linux

kentcdodds commented 6 years ago

Hmmm... It seems to work fine for me. Could you do a little more digging? Perhaps this is a bug in create-react-app?

sethbergman commented 6 years ago

I've made a short video: Refresh breaks page reloads - CodeSandbox

sethbergman commented 6 years ago

I've confirmed that it's only an issue with CodeSandbox, not your GitHub repository. Sorry for the confusion.

kentcdodds commented 6 years ago

Ah, yeah, that's probably an issue with codesandbox-client. You could file an issue there.

Thanks for your patience and digging!