vue.js - Parent rerenders every time nested route changes -


i have project simple folder structure similar following:

pages/ --items.vue --items/ ----_id.vue 

i have included <nuxt-child/> inside items.vue along list of items link different id's. _id.vue renders modal displays info based on id passed param.

this working , rendering except each time item clicked, items.vue component re-renders causing reset state , lose users scroll position.

is expected behavior? possible have dynamic nested routes without re-rendering parent each route change?


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -