Closed Sly777 closed 7 years ago
Thanks for contributing! Please see if https://github.com/fridays/next-routes/pull/51 works for you
I'm closing this PR because of #51 . Thanks @fridays!
Reopening because it is the right place for a request handler 🌴
Hey @fridays, I made changes as you said but the only difference is I chose a name as "customHandler" to avoid some wording confusion.
Thanks, looks good!
I updated the example @HaNdTriX
@Sly777 I think @HaNdTriX meant to only change renderAndCache
to app.render
in the example. Query transforms are not implemented here and redirects should better happen inside getInitialProps. If you could change this, we can merge 👍
oooh, I see :) Okay I updated as you want, @fridays.
Thanks! It's now there in version 1.0.29
Added option to handle process after route found
Example: