I expect tabs to not re-render, but I think this is caused by tab 2 being rendered after clicked (and forces tab 1 to re-render as well). Is there an option to automatically render all tabs at start? Or is this behavior caused by something else? I've attached all that might be helpful, sorry if this post is very long.
Running application App ({
initialProps = {
};
rootTag = 1;
})
Running application "App" with appParams: {"rootTag":1,"initialProps":{}}. __DEV__ === true, development-level warning are ON, performance optimizations are OFF
fetching url https://...
action @ 13:06:08.324 REACT_NATIVE_ROUTER_FLUX_FOCUS
prev state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[0]}
action Object {scene: Object, type: "REACT_NATIVE_ROUTER_FLUX_FOCUS"}
next state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[0]}
action @ 13:06:08.336 REACT_NATIVE_ROUTER_FLUX_FOCUS
prev state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[0]}
action Object {scene: Object, type: "REACT_NATIVE_ROUTER_FLUX_FOCUS"}
next state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[0]}
action @ 13:06:08.749 REACT_NATIVE_ROUTER_FLUX_REFRESH
prev state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[0]}
action Object {key: "0_drawer", open: false, type: "REACT_NATIVE_ROUTER_FLUX_REFRESH"}
next state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[0]}
action @ 13:06:08.753 REACT_NATIVE_ROUTER_FLUX_FOCUS
prev state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[0]}
action Object {scene: Object, type: "REACT_NATIVE_ROUTER_FLUX_FOCUS"}
next state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[0]}
response Object {limit: 10, offset: 0, data: Array[10], single_result: false}
action @ 13:06:09.151 SET_POSTS
prev state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[0]}
action Object {type: "SET_POSTS", posts: Array[10]}
next state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
action @ 13:06:38.433 REACT_NATIVE_ROUTER_FLUX_JUMP
prev state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
action Object {key: "Page2", type: "REACT_NATIVE_ROUTER_FLUX_JUMP"}
next state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
action @ 13:06:38.438 REACT_NATIVE_ROUTER_FLUX_FOCUS
prev state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
action Object {scene: Object, type: "REACT_NATIVE_ROUTER_FLUX_FOCUS"}
next state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
action @ 13:06:38.469 REACT_NATIVE_ROUTER_FLUX_FOCUS
prev state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
action Object {scene: Object, type: "REACT_NATIVE_ROUTER_FLUX_FOCUS"}
next state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
action @ 13:06:40.121 REACT_NATIVE_ROUTER_FLUX_JUMP
prev state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
action Object {key: "Page1", type: "REACT_NATIVE_ROUTER_FLUX_JUMP"}
next state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
action @ 13:06:40.125 REACT_NATIVE_ROUTER_FLUX_FOCUS
prev state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
action Object {scene: Object, type: "REACT_NATIVE_ROUTER_FLUX_FOCUS"}
next state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
action @ 13:06:40.137 REACT_NATIVE_ROUTER_FLUX_FOCUS
prev state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
action Object {scene: Object, type: "REACT_NATIVE_ROUTER_FLUX_FOCUS"}
next state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
fetching url https://...
response Object {limit: 10, offset: 0, data: Array[10], single_result: false}
action @ 13:06:41.602 SET_POSTS
prev state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
action Object {type: "SET_POSTS", posts: Array[10]}
next state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
action @ 13:06:50.044 REACT_NATIVE_ROUTER_FLUX_JUMP
prev state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
action Object {key: "Page2", type: "REACT_NATIVE_ROUTER_FLUX_JUMP"}
next state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
action @ 13:06:50.048 REACT_NATIVE_ROUTER_FLUX_FOCUS
prev state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
action Object {scene: Object, type: "REACT_NATIVE_ROUTER_FLUX_FOCUS"}
next state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
action @ 13:06:50.062 REACT_NATIVE_ROUTER_FLUX_FOCUS
prev state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
action Object {scene: Object, type: "REACT_NATIVE_ROUTER_FLUX_FOCUS"}
next state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
action @ 13:06:50.919 REACT_NATIVE_ROUTER_FLUX_JUMP
prev state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
action Object {key: "Page1", type: "REACT_NATIVE_ROUTER_FLUX_JUMP"}
next state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
action @ 13:06:50.926 REACT_NATIVE_ROUTER_FLUX_FOCUS
prev state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
action Object {scene: Object, type: "REACT_NATIVE_ROUTER_FLUX_FOCUS"}
next state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
action @ 13:06:50.947 REACT_NATIVE_ROUTER_FLUX_FOCUS
prev state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}
action Object {scene: Object, type: "REACT_NATIVE_ROUTER_FLUX_FOCUS"}
next state Object {searchedRecipes: Object, recipeCount: 17, routes: Object, posts: Array[27261]}