ahmadaIanazi / expo-router-twitter-layout

Expo Router v2 with Twitter Layout, Drawer, Tabs, Onboarding, and Authentication

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Expo Starter Kit

Expo Router v2 with Twitter Layout, Drawer, Tabs, Onboarding, and Authentication

Gettings started

yarn install

Then

yarn run start

Structure

I tried to keep it as simple as possible. it contains drawer that is the main navigation, and the drawer contains tabs.

1

  • [routing_setup.tsx] This file contains the logic for authentication where you should connect your logic it. Currently, you can manually toggele "true" to "false" and see the routing logic your self.

2

  • [layout_setup.tsx] Here you can declare screens, and groups that dont have _layouts.tsx file for them.

3

  • [providers_setup.tsx] Here where you can add providers and wrap your whole app with those providers. This is triggered before the router entry starts.

Note

In order to see the logic and screens of the app you must go to (app/routing_setup.tsx) to toggle the isSignedIn, isLoaded ..etc

About

Expo Router v2 with Twitter Layout, Drawer, Tabs, Onboarding, and Authentication


Languages

Language:TypeScript 97.3%Language:JavaScript 2.7%