How to disable preloadPreviousPage in react app?

i have a react application made with framework 7 cli.
i don’t want my app keep previous page in the Dom.
where should i put the ‘preloadPreviousPage:false’ to disable preloading of previous page when you go deep in navigation.(please tell me exactly witch file and where)

It must be set on View: <View preloadPreviousPage={false}>

Вам нужно отключить также SwipeBack, иначе предыдущая страница все равно будет в DOM в независимости от preloadPreviousPage:false

thanks , it work fine.