fridays / next-routes

Universal dynamic routes for Next.js
MIT License
2.47k stars 230 forks source link

Support shallow rendering #13

Closed ccachor closed 7 years ago

ccachor commented 7 years ago

Is it possible to support shallow rendering to skip rendering getInitialProps? Example: I'd like to use link/router to push a query string to a component that displays a modal based on the query string. Trying to figure out how this can be done without rendering the profile on the server again.

fridays commented 7 years ago

Can you share some example code? It sounds like it's more related to next itself. Maybe the nextgram example can help: https://github.com/zeit/nextgram

fridays commented 7 years ago

This is now possible thanks to @HaNdTriX - please update to version 1.0.22