Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dejwid/twitter-clone
/ functions
Functions
32 in github.com/dejwid/twitter-clone
⨍
Functions
32
◇
Types & classes
0
↓ 6 callers
Function
initMongoose
()
lib/mongoose.js:3
↓ 5 callers
Function
useUserInfo
()
hooks/useUserInfo.js:4
↓ 2 callers
Function
updateLikesCount
(postId)
pages/api/like.js:7
↓ 1 callers
Function
fetchData
()
pages/[username]/status/[id].js:19
↓ 1 callers
Function
fetchHomePosts
()
pages/index.js:19
↓ 1 callers
Function
getUserInfo
()
hooks/useUserInfo.js:10
↓ 1 callers
Function
updateProfile
()
pages/[username].js:49
Function
Avatar
({src,big,onChange,editable=false})
components/Avatar.js:3
Function
Cover
({src,onChange,editable})
components/Cover.js:3
Function
EditableImage
({type,src,onChange,className,editable=false})
components/EditableImage.js:5
Function
Home
()
pages/index.js:11
Function
Layout
({children})
components/Layout.js:1
Function
MyApp
({ Component, pageProps: { session, ...pageProps }, })
pages/_app.js:10
Function
TopNavLink
({title='Tweet',url='/'})
components/TopNavLink.js:3
Function
Upload
({children,onUploadFinish})
components/Upload.js:4
Function
UsernameForm
()
components/UsernameForm.js:5
Function
cancel
()
pages/[username].js:57
Function
handle
(req, res)
pages/api/like.js:13
Function
handle
(req, res)
pages/api/upload.js:8
Function
handle
(req, res)
pages/api/followers.js:6
Function
handle
(req, res)
pages/api/users.js:8
Function
handleFormSubmit
(e)
components/UsernameForm.js:21
Function
handlePostSubmit
(e)
components/PostForm.js:13
Function
handler
(req, res)
pages/api/profile.js:6
Function
handler
(req, res)
pages/api/posts.js:8
Function
handler
(req, res)
pages/api/hello.js:3
Function
logout
()
pages/index.js:26
Function
toggleFollow
()
pages/[username].js:65
Function
toggleLike
()
components/PostButtons.js:15
Function
updateImage
(files,e)
components/EditableImage.js:15
Function
updateUserImage
(type, src)
pages/[username].js:45
Function
uploadImage
(files,e)
components/Upload.js:10