Closed matthewconstantine closed 6 years ago
Figured it out, in case anyone else runs into this. I was using ngrok
to setup a tunnel for testing on a mobile device. Because I piped port 3000 but not 3001 I was getting the html but not the javascript assets. It's hard to tell the javascript isn't loading because SSR works so well. 🤣
I'm having trouble getting basic
onClick
handlers working for pages rendering on iOS Safari and Chrome.For the simplest possible test, I took the default
redux-ssr
branch and replaced the Hello World with<div onClick={() => alert('here')}>Hello World</div>
.When rendered in a browser, it works fine, even within Chrome dev tools device emulation. Is there something I'm missing?