Reinitialize Webflow with Custom Code

And I have one more general Webflow understanding problem:

If I work with something like barbajs and basically use the plugin to link from page to page via ajax webflow apperantly never knows on what page I am.

I have a console.log statement in my barba leave code for instance and I do the following:

I’m on /work and click on /about. On /work the console.log statement shows that it’s coming from work:249, but on /about it also shows that it’s coming from work:249 … so Webflow does not know on which page I’m on if there is no hardrefresh it seems.