We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I think it would be very useful if the route handler could have an asynchronous lifecycle out of the box.
Greate little lib, by the way, thanks.
The text was updated successfully, but these errors were encountered:
At the moment the only way seems to use some ugly logical methods, like:
{ path: '/blog/:post', handler () { let loaded = false; app.on('after', () => { if (!loaded) { loaded = true; Slider.init(); } }) } }
But having something like: state.beforeLoad, state.afterLoad would come in very handy for manipulating DOM and destroying events.
Sorry, something went wrong.
No branches or pull requests
Hi,
I think it would be very useful if the route handler could have an asynchronous lifecycle out of the box.
Greate little lib, by the way, thanks.
The text was updated successfully, but these errors were encountered: