Meteor app deployed to galaxy with react server-render not attaching eventHandlers to dom

21 views Asked by At

I have a meteor app that follows this file structure, https://guide.meteor.com/structure.html#example-app-structure and uses React's server-render. While testing locally, meteor --port 3000, the client has eventHandlers attached via /start/client/index.js's ReactDOM.hydrate(<App />, document.getElementById('app'));. However, in production after deploying to galaxy, there are no eventHandlers attached to the DOM. I tried doing console.log on the client files and there were no logs. Any ideas on what i can try out to fix this issue?

PS: I tried testing this via meteor --port 3000 --production and i managed to replicate this issue but seems like this is not a good way to "replicate" this issue.

0

There are 0 answers