Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cosdensolutions/code
/ functions
Functions
309 in github.com/cosdensolutions/code
⨍
Functions
309
◇
Types & classes
51
↓ 15 callers
Function
cn
(...inputs: ClassValue[])
videos/long/reusable-create-edit-form/src/lib/utils.ts:4
↓ 13 callers
Function
setCount
()
videos/long/zustand-tutorial/src/App.tsx:5
↓ 10 callers
Function
checkNumberOfCompletedTodosInLocalStorage
(page: Page, expected: number)
videos/long/react-playwright-tutorial/tests-examples/demo-todo-app.spec.ts:427
↓ 9 callers
Function
cn
(...inputs: ClassValue[])
videos/long/multi-step-form-react/src/lib/utils.ts:4
↓ 8 callers
Function
checkNumberOfTodosInLocalStorage
(page: Page, expected: number)
videos/long/react-playwright-tutorial/tests-examples/demo-todo-app.spec.ts:421
↓ 7 callers
Function
cn
(...inputs: ClassValue[])
videos/long/complete-authentication-system-react/client/src/lib/utils.ts:4
↓ 6 callers
Function
createDefaultTodos
(page: Page)
videos/long/react-playwright-tutorial/tests-examples/demo-todo-app.spec.ts:411
↓ 4 callers
Function
addTodo
(todos: Todo[], text: string)
videos/long/comparing-state-management-react/src/features/recoil/todoStore.ts:15
↓ 4 callers
Function
checkTodosInLocalStorage
(page: Page, title: string)
videos/long/react-playwright-tutorial/tests-examples/demo-todo-app.spec.ts:433
↓ 4 callers
Function
handleSubmit
(data: UserForm)
videos/long/zod-validation-in-react/src/App.tsx:23
↓ 4 callers
Function
removeTodo
(todos: Todo[], id: number)
videos/long/comparing-state-management-react/src/features/recoil/todoStore.ts:29
↓ 4 callers
Function
setData
(data: Partial<T>)
videos/long/react-query-state-management/src/state/index.ts:20
↓ 4 callers
Function
toggleTodo
(todos: Todo[], id: number)
videos/long/comparing-state-management-react/src/features/recoil/todoStore.ts:24
↓ 4 callers
Function
useFormField
()
videos/long/multi-step-form-react/src/components/ui/form.tsx:44
↓ 4 callers
Function
useFormField
()
videos/long/complete-authentication-system-react/client/src/components/ui/form.tsx:43
↓ 3 callers
Function
selectTab
(tab: Tab)
videos/long/learn-react-hooks-useTransition/27-tutorial-useTransition/index.tsx:13
↓ 3 callers
Function
useAuth
()
videos/long/complete-authentication-system-react/client/src/components/AuthProvider.tsx:54
↓ 3 callers
Function
usePostCardContext
()
videos/long/compound-components-design-pattern/src/components/PostCard.tsx:11
↓ 2 callers
Function
cn
(...inputs: ClassValue[])
videos/long/vercel-ai-sdk-tutorial/src/lib/utils/cn.ts:4
↓ 2 callers
Function
cn
(...inputs: ClassValue[])
videos/long/better-auth-tutorial/src/lib/utils/cn.ts:4
↓ 2 callers
Function
createChildren
(numberOfChildren: number)
videos/long/react-storybook-tutorial/src/stories/Stack.stories.tsx:54
↓ 2 callers
Function
createUsers
(from = 0, to = 100000)
videos/long/rendering-100k-rows-in-react/src/user.ts:6
↓ 2 callers
Function
decrement
()
videos/long/learn-react-hooks-useImperativeHandle/Counter.tsx:25
↓ 2 callers
Function
generateAuthToken
()
videos/long/role-based-authentication-in-react/src/api/auth.ts:25
↓ 2 callers
Function
handleSignIn
(userId: string)
videos/long/complete-authentication-system-react/client/src/components/AuthProvider.tsx:35
↓ 2 callers
Function
useAuth
()
videos/long/role-based-authentication-in-react/src/components/AuthProvider.tsx:77
↓ 2 callers
Function
useProductFilters
()
videos/long/react-url-as-state/src/hooks/useProductFilters.ts:6
↓ 2 callers
Function
useUserContext
()
videos/long/learn-react-hooks-useContext/context.ts:7
↓ 1 callers
Method
addTodo
(text: string)
videos/long/comparing-state-management-react/src/features/mobx/todoStore.ts:16
↓ 1 callers
Function
createGlobalState
( queryKey: unknown, initialData: T | null = null, )
videos/long/react-query-state-management/src/state/index.ts:3
↓ 1 callers
Function
createSession
(userId: string)
videos/long/auth-flow-next-js/src/app/lib/session.ts:8
↓ 1 callers
Function
decrypt
(session: string | undefined = "")
videos/long/auth-flow-next-js/src/app/lib/session.ts:36
↓ 1 callers
Function
deleteSession
()
videos/long/auth-flow-next-js/src/app/lib/session.ts:19
↓ 1 callers
Function
encrypt
(payload: SessionPayload)
videos/long/auth-flow-next-js/src/app/lib/session.ts:28
↓ 1 callers
Function
expensiveFunction
()
videos/long/server-components-simple-tutorial/src/expensiveFunction.ts:1
↓ 1 callers
Function
fetchNextPage
()
videos/long/rendering-100k-rows-in-react/src/App.tsx:13
↓ 1 callers
Function
fetchPosts
()
videos/long/data-fetching-complete-tutorial/index.tsx:19
↓ 1 callers
Function
fetchPosts
()
videos/long/modern-data-fetching-complete-guide/src/components/FetchExample1.tsx:21
↓ 1 callers
Function
fetchProducts
(options?: ProductFilters)
videos/long/react-custom-filter-component/src/api/products.ts:9
↓ 1 callers
Function
fetchProducts
(options?: ProductFilters)
videos/long/react-url-as-state/src/api/products.ts:9
↓ 1 callers
Function
fetchTodos
(query = "")
videos/long/react-query-tutorial/src/api/index.ts:34
↓ 1 callers
Function
fetchUser
()
videos/long/role-based-authentication-in-react/src/components/AuthProvider.tsx:27
↓ 1 callers
Function
fetchUsers
(search: string)
videos/long/custom-react-hooks-useDebounce/utils.tsx:16
↓ 1 callers
Function
formatFileSize
(bytes: number)
videos/long/multi-file-input-with-progress-bar/src/components/FileUpload.tsx:263
↓ 1 callers
Function
getFileIcon
(mimeType: string)
videos/long/multi-file-input-with-progress-bar/src/components/FileUpload.tsx:255
↓ 1 callers
Function
getItem
()
videos/long/custom-react-hooks-useLocalStorage/useLocalStorage.ts:10
↓ 1 callers
Function
getItem
(key: string)
videos/long/persist-state-localStorage-tutorial/src/utils/localStorage.ts:9
↓ 1 callers
Function
getUser
()
videos/long/role-based-authentication-in-react/src/api/auth.ts:9
↓ 1 callers
Function
getUsers
(filters: UsersFilters)
videos/long/zod-validation-in-react/src/api/api.ts:11
↓ 1 callers
Function
getUsers
(filters?: GetUsersFilters)
videos/long/combining-zustand-with-react-query/src/api/user.ts:8
↓ 1 callers
Function
handleAuthState
()
videos/long/complete-authentication-system-react/client/src/components/AuthProvider.tsx:19
↓ 1 callers
Function
handleCardClick
(card: Card)
videos/long/solving-react-interview-questions/src/components/MemoryGame.tsx:50
↓ 1 callers
Function
handleCardMatch
( firstCard: Card, secondCard: Card, )
videos/long/solving-react-interview-questions/src/components/MemoryGame.tsx:28
↓ 1 callers
Function
handleRemove
(id: number)
videos/long/react-keys-and-lists-tutorial/index.tsx:8
↓ 1 callers
Function
handleSignOut
()
videos/long/complete-authentication-system-react/client/src/components/AuthProvider.tsx:40
↓ 1 callers
Function
loadUsers
()
videos/long/custom-react-hooks-useDebounce/index.tsx:14
↓ 1 callers
Function
login
()
videos/long/role-based-authentication-in-react/src/api/auth.ts:17
↓ 1 callers
Function
logout
()
videos/long/auth-flow-next-js/src/app/login/actions.ts:45
↓ 1 callers
Function
middleware
(req: NextRequest)
videos/long/auth-flow-next-js/src/middleware.ts:8
↓ 1 callers
Method
removeTodo
(id: number)
videos/long/comparing-state-management-react/src/features/mobx/todoStore.ts:31
↓ 1 callers
Function
reportWebVitals
(onPerfEntry?: () => void)
videos/long/complete-authentication-system-react/client/src/reportWebVitals.ts:1
↓ 1 callers
Function
requestHandler
(request: BaseRequest<T, V>)
videos/long/request-handler-example/src/api/requestHandler.ts:18
↓ 1 callers
Function
setItem
(value: unknown)
videos/long/custom-react-hooks-useLocalStorage/useLocalStorage.ts:2
↓ 1 callers
Function
setItem
(key: string, value: unknown)
videos/long/persist-state-localStorage-tutorial/src/utils/localStorage.ts:1
↓ 1 callers
Function
shuffleArray
(array: T[])
videos/long/solving-react-interview-questions/src/components/MemoryGame.tsx:94
↓ 1 callers
Method
toggleTodo
(id: number)
videos/long/comparing-state-management-react/src/features/mobx/todoStore.ts:24
↓ 1 callers
Function
useAuth
()
videos/long/custom-protected-route-component/src/components/AuthProvider.tsx:21
↓ 1 callers
Function
useCount
()
videos/long/most-important-design-pattern-in-react/src/hooks/useCount.ts:8
↓ 1 callers
Function
useCountStore
(selector: (state: CountStore) => T)
videos/long/zustand-context-pattern/src/CountProvider.tsx:31
↓ 1 callers
Function
useDebounce
(value: T, delay: number = 500)
videos/long/react-custom-filter-component/src/hooks/useDebounce.ts:3
↓ 1 callers
Function
useDebounce
(value: T, delay: number = 500)
videos/long/react-url-as-state/src/hooks/useDebounce.ts:3
↓ 1 callers
Function
useDebounce
(value: T, delay = 500)
videos/long/custom-react-hooks-useDebounce/hooks.ts:3
↓ 1 callers
Function
useKeyDown
( key: KeyboardEvent['key'], fn: () => void, deps: any[] = [], )
videos/long/refactoring-react-component/src/hooks/useKeyDown.ts:3
↓ 1 callers
Function
useLocalStorage
(key: string)
videos/long/custom-react-hooks-useLocalStorage/useLocalStorage.ts:1
↓ 1 callers
Function
usePersistedState
(key: string, initialValue: T)
videos/long/persist-state-localStorage-tutorial/src/hooks/usePersistedState.ts:5
Function
About
()
videos/long/tanstack-router-tutorial/src/routes/about.lazy.tsx:7
Function
AboutTab
()
videos/long/learn-react-hooks-useTransition/27-tutorial-useTransition/AboutTab.tsx:1
Function
ActionButtons
({ onUpload, onClear, disabled }: ActionButtonsProps)
videos/long/multi-file-input-with-progress-bar/src/components/FileUpload.tsx:152
Function
App
()
videos/long/rtk-query-tutorial/src/App.tsx:4
Function
App
()
videos/long/most-important-design-pattern-in-react/src/App.tsx:5
Function
App
()
videos/long/master-reusable-components-in-react/src/App.tsx:10
Function
App
()
videos/long/react-custom-filter-component/src/App.tsx:7
Function
App
()
videos/long/expo-router-tutorial/App.tsx:4
Function
App
()
videos/long/infinite-pagination-with-react-query/src/App.tsx:7
Function
App
()
videos/long/react-drag-drop-tutorial/src/App.tsx:39
Function
App
()
videos/long/role-based-authentication-in-react/src/App.tsx:4
Function
App
()
videos/long/solving-react-interview-questions/src/App.tsx:3
Function
App
()
videos/long/react-i18next-tutorial/src/App.tsx:3
Function
App
()
videos/long/multi-file-input-with-progress-bar/src/App.tsx:3
Function
App
()
videos/long/zustand-tutorial/src/App.tsx:9
Function
App
()
videos/long/react-url-as-state/src/App.tsx:9
Function
App
()
videos/long/refactoring-react-component/src/App.tsx:3
Function
App
()
videos/long/event-calendar-challenge/src/App.tsx:4
Function
App
()
videos/long/tanstack-router-tutorial/src/App.tsx:1
Function
App
()
videos/long/zod-validation-in-react/src/App.tsx:18
Function
App
()
videos/long/rendering-100k-rows-in-react/src/App.tsx:7
Function
App
()
videos/long/react-query-tutorial/src/App.tsx:14
Function
App
()
videos/long/server-components-simple-tutorial/src/app/page.tsx:1
Function
App
()
videos/long/react-storybook-tutorial/src/App.tsx:1
Function
App
()
videos/long/react-upload-files-tutorial/src/App.tsx:3
next →
1–100 of 309, ranked by callers