message: Checked tab provided before setting
  Matches the native TabBar's getDerivedStateFromProps
diff: @@ -6,6 +6,7 @@ const TabBar = ({children, defaultTab = 0, tab, onChangeTab}) => {
  const {data} = useContext(NavigationContext);
  const [selectedTab, setSelectedTab] = useState(tab || (data.tab != null ? data.tab : defaultTab));
  useEffect(() => {
  + if (tab != null)
  setSelectedTab(tab)
  }, [tab]);
  const changeTab = (i) => {
  