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
Post a Comment