Closed porsager closed 8 years ago
In the case of 0.x, "config" always has the dom element available. The correct lifecycle hook to replace !init if blocks would most likely be oncreate since oninit doesn't have the dom element available yet.
Where did m.module come from? I see it in next but don't think I've ever heard of it before.
m.module
next
:+1: thanks!
I think it was a leftover from 0.1.x. I just stumbled on it in one of my projects I tested on 😋
In the case of 0.x, "config" always has the dom element available. The correct lifecycle hook to replace !init if blocks would most likely be oncreate since oninit doesn't have the dom element available yet.