componentDidMount not being called for any of my components

336 Views Asked by At

I am using Meteor with React. I am using Kadira flowrouter-ssr as my router.

It's so weird. None of my components get their componentDidMount() called.

I found a question which seems like the same issue.

I think React only uses getInitialState() & render() to compile to create the html.

It's weird because it was working before and I deployed a new version, didn't update anything and it stopped working. All I did was add a couple of components.

It works on my local machine so I am sure it's something to do with how it's being compiled.

Other than that I am blank. I have no idea what's up with this.

0

There are 0 best solutions below