Fork me on GitHub
#rum
<
2017-05-22
>
grounded_sage06:05:37

I do it but only as a static site generator

cmdrdats14:05:25

Hey everyone, I'm getting : "react-dom.inc.js:11559 Uncaught TypeError: Cannot read property 'getHostNode' of null" - does anyone know in which direction I should look? can't tell from the stacktrace 😕

cmdrdats14:05:38

it happens when my atom gets updated

cmdrdats14:05:58

but when figwheel does a refresh, it mounts the atom fine from scratch

rauh14:05:19

Re mount your entire app on refresh. I mean: on figwheel reload

bbss15:05:01

@cmdrdats sounds like something went wrong during render and now react can't mount. You can try/catch your render function. The real error should have happened before that though.

misha16:05:26

It usually happens to me when I heavily change some already rendered component.

misha16:05:12

So yeah, re-mount or refresh work around that

cmdrdats17:05:24

cool thanks - ye, turns out it was a refresh that helped.. odd though - I really thought I tried to refresh.. oh well.