MithrilJS / mithril-node-render

Use mithril views to render server side
MIT License
210 stars 44 forks source link

Mithril's `oninit` is synchronous #90

Closed dead-claudia closed 4 years ago

dead-claudia commented 5 years ago

Mithril core's oninit is synchronous, yet this for some reason awaits it. Shouldn't it be sync as well, to match the rest of the API including core's m.render being itself 100% sync?

It'd also resolve #65 as a side effect.