first attempt at making beforeRender() async #282
This is a working solution for beforRender async re #282
Merge pull request #1 from thanpolas/beforeRender-async

Before render async