Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SashenJayathilaka/Twitter-2-0-Clone
/ functions
Functions
33 in github.com/SashenJayathilaka/Twitter-2-0-Clone
⨍
Functions
33
◇
Types & classes
8
↓ 4 callers
Function
fetchTweet
()
utils/fetchTweet.ts:3
↓ 2 callers
Function
refreshComments
()
components/Tweet.tsx:35
↓ 1 callers
Function
fetchComments
(tweetId: string)
utils/fetchComments.ts:3
↓ 1 callers
Function
postTweet
()
components/TweetBox.tsx:39
Function
Content
({ userPName, userPhotoUrl })
components/userProfile/Content.tsx:31
Function
DarkSwitch
()
components/DarkSwitch.tsx:7
Function
Feed
({ tweets: tweetProp }: Props)
components/Feed.tsx:15
Function
Home
({ tweets }: Props)
pages/index.tsx:16
Function
MainProfile
({ tweets: tweetProp })
components/userProfile/MainProfile.tsx:14
Function
MyApp
({ Component, pageProps }: AppProps)
pages/_app.tsx:5
Function
SideBar
({ isShow, isHome })
components/SideBar.tsx:24
Function
SidebarRow
({ Icon, title, isShow }: Props)
components/SidebarRow.tsx:14
Function
SignIn
()
pages/auth/signin.tsx:12
Function
Tweet
({ tweet, setUserPName, userName, setUserPhotoUrl, pushNote, }: Props)
components/Tweet.tsx:22
Function
TweetBox
({ setTweets }: Props)
components/TweetBox.tsx:21
Function
UserHeader
({ userPName, userPhotoUrl })
components/userProfile/UserHeader.tsx:10
Function
UserProfule
({ tweets }: Props)
pages/user/[name].tsx:16
Function
Widgets
()
components/Widgets.tsx:4
Function
addImageTweet
( e: React.MouseEvent<HTMLButtonElement, globalThis.MouseEvent> )
components/TweetBox.tsx:28
Function
getServerSideProps
()
pages/index.tsx:46
Function
getServerSideProps
()
pages/user/[name].tsx:45
Function
handleNavigatePage
()
components/Tweet.tsx:74
Function
handleRefFunction
()
components/Feed.tsx:19
Function
handleSignIn
()
components/SidebarRow.tsx:22
Function
handleSignOut
()
components/SidebarRow.tsx:18
Function
handleSignUp
()
pages/auth/signin.tsx:18
Function
handleSubmit
( e: React.MouseEvent<HTMLButtonElement, globalThis.MouseEvent> )
components/Tweet.tsx:44
Function
handleSubmit
( e: React.MouseEvent<HTMLButtonElement, globalThis.MouseEvent> )
components/TweetBox.tsx:62
Function
handler
( req: NextApiRequest, res: NextApiResponse<Data> )
pages/api/getTweets.ts:18
Function
handler
( req: NextApiRequest, res: NextApiResponse<Data> )
pages/api/addTweet.ts:9
Function
handler
( req: NextApiRequest, res: NextApiResponse<Data> )
pages/api/getComments.ts:16
Function
handler
( req: NextApiRequest, res: NextApiResponse<Data> )
pages/api/hello.ts:8
Function
handler
( req: NextApiRequest, res: NextApiResponse<Data> )
pages/api/addComment.ts:9