reactjs - React native router flux save scene between tabs -


i have react native app i'm using react native router flux navigating. how looks like:

        <scene key="root">             <scene                 key="tabbar"                 tabs                 tabbarstyle={{ backgroundcolor: '#ffffff' }}             >                 <scene key="home" title="cube" icon={tabicon}>                     <scene tabs key="categories" component={categories} title="categories" hidenavbar />                     <scene tabs key="objects" component={objects} title="objects" hidenavbar={false} />                     <scene tabs key="subobjects" component={subobjects} title="subobjects" hidenavbar={false} />                 </scene>                 <scene key="search" title="search" icon={tabicon}>                     <scene tabs key="searchpage" component={objectcontainer} title="search" hidenavbar />                 </scene>                 <scene key="user" title="user" icon={tabicon}>                     <scene tabs key="userinfo" component={user} title="user" hidenavbar />                 </scene>             </scene>         </scene> 

in case following route: categories -> objects -> subobjects -> search , want go home categories instead of subobjects. there way save tabs scenes , last used one?


Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -