Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bryanjenningz/react-duolingo
/ functions
Functions
169 in github.com/bryanjenningz/react-duolingo
⨍
Functions
169
◇
Types & classes
1
↓ 5 callers
Function
timeUntilStartOfWeek
(units: TimeLeftUnit)
src/pages/leaderboard.tsx:45
↓ 4 callers
Function
range
(lo: number, hi: number)
src/utils/array-utils.ts:1
↓ 4 callers
Function
toDateString
(day: dayjs.Dayjs)
src/utils/dateString.ts:8
↓ 3 callers
Function
isActiveDay
(activeDays: ActiveDays, day: dayjs.Dayjs)
src/stores/createStreakStore.ts:12
↓ 3 callers
Function
xpAt
(xpByDate: XpByDate, date: dayjs.Dayjs)
src/stores/createXpStore.ts:18
↓ 2 callers
Function
getTileLeftClassName
({ index, unitNumber, tilesLength, }: { index: number; unitNumber: number; tilesLength: number; })
src/pages/learn.tsx:128
↓ 2 callers
Function
scrollCarousel
({ container, startIndexRef, endIndex, }: { container: Element; startIndexRef: React.MutableRefObjec
src/components/LanguageCarousel.tsx:14
↓ 2 callers
Function
useBottomBarItems
()
src/components/BottomBar.tsx:12
↓ 2 callers
Function
useLeaderboardUsers
()
src/hooks/useLeaderboard.ts:4
↓ 2 callers
Function
useLoginScreen
()
src/components/LoginScreen.tsx:53
↓ 1 callers
Function
addActiveDay
(activeDays: ActiveDays, day: dayjs.Dayjs)
src/stores/createStreakStore.ts:8
↓ 1 callers
Function
addXp
(xpByDate: XpByDate, xp: number, date: dayjs.Dayjs)
src/stores/createXpStore.ts:11
↓ 1 callers
Function
addXpToday
(xpByDate: XpByDate, xp: number)
src/stores/createXpStore.ts:7
↓ 1 callers
Function
createGoalXpSlice
(set)
src/stores/createGoalXpStore.ts:10
↓ 1 callers
Function
createLanguageSlice
(set)
src/stores/createLanguageStore.ts:11
↓ 1 callers
Function
createLessonSlice
(set)
src/stores/createLessonStore.ts:10
↓ 1 callers
Function
createLingotSlice
(set)
src/stores/createLingotStore.ts:8
↓ 1 callers
Function
createSoundSettingsSlice
( set, )
src/stores/createSoundSettingsStore.ts:12
↓ 1 callers
Function
createStreakSlice
( set, get, )
src/stores/createStreakStore.ts:33
↓ 1 callers
Function
createUserSlice
(set)
src/stores/createUserStore.ts:15
↓ 1 callers
Function
createXpSlice
(set, get)
src/stores/createXpStore.ts:31
↓ 1 callers
Function
formatTime
(timeMs: number)
src/pages/lesson.tsx:46
↓ 1 callers
Function
getCalendarDays
(now: dayjs.Dayjs)
src/components/Calendar.tsx:6
↓ 1 callers
Function
getCurrentStreak
(activeDays: ActiveDays)
src/stores/createStreakStore.ts:16
↓ 1 callers
Function
getTileColors
({ tileType, status, defaultColors, }: { tileType: TileType; status: TileStatus; defaultColors: `b
src/pages/learn.tsx:177
↓ 1 callers
Function
getTileTooltipLeftOffset
({ index, unitNumber, tilesLength, }: { index: number; unitNumber: number; tilesLength: number; })
src/pages/learn.tsx:153
↓ 1 callers
Function
getTopBarColors
( scrollY: number, )
src/pages/learn.tsx:470
↓ 1 callers
Function
numbersEqual
(a: readonly number[], b: readonly number[])
src/pages/lesson.tsx:42
↓ 1 callers
Function
scrollCarouselLeft
({ languagesContainer, startIndexRef, lastLanguageIndex, }: { languagesContainer: React.MutableRefObje
src/components/LanguageCarousel.tsx:46
↓ 1 callers
Function
scrollCarouselRight
({ languagesContainer, startIndexRef, lastLanguageIndex, }: { languagesContainer: React.MutableRefObje
src/components/LanguageCarousel.tsx:63
↓ 1 callers
Function
sum
(numbers: number[])
src/utils/array-utils.ts:9
↓ 1 callers
Function
tick
()
src/components/LanguageCarousel.tsx:32
↓ 1 callers
Function
tileStatus
(tile: Tile, lessonsCompleted: number)
src/pages/learn.tsx:41
↓ 1 callers
Function
timeLeft
()
src/pages/leaderboard.tsx:59
↓ 1 callers
Function
updateScrollY
()
src/pages/learn.tsx:495
↓ 1 callers
Function
useLeaderboardRank
()
src/hooks/useLeaderboard.ts:15
↓ 1 callers
Function
useSettingsPages
()
src/components/SettingsRightNav.tsx:7
Function
Account
()
src/pages/settings/account.tsx:9
Function
ActiveBookSvg
()
src/components/Svgs.tsx:338
Function
ActiveDumbbellSvg
()
src/components/Svgs.tsx:493
Function
ActiveTreasureSvg
()
src/components/Svgs.tsx:1022
Function
ActiveTrophySvg
()
src/components/Svgs.tsx:771
Function
AddLanguageSvg
(props: ComponentProps<"svg">)
src/components/TopBar.tsx:47
Function
AppleSvg
()
src/components/Svgs.tsx:2712
Function
BigCloseSvg
(props: ComponentProps<"svg">)
src/components/Svgs.tsx:2690
Function
BottomBar
({ selectedTab }: { selectedTab: Tab | null })
src/components/BottomBar.tsx:162
Function
BoySvg
()
src/components/Svgs.tsx:3572
Function
BronzeLeagueSvg
(props: ComponentProps<"svg">)
src/components/Svgs.tsx:3347
Function
Calendar
({ now, setNow, }: { now: dayjs.Dayjs; setNow: React.Dispatch<React.SetStateAction<dayjs.Dayjs>>; })
src/components/Calendar.tsx:29
Function
CheckAnswer
({ isAnswerSelected, isAnswerCorrect, correctAnswerShown, correctAnswer, onCheckAnswer, onFinish,
src/pages/lesson.tsx:340
Function
CheckmarkSvg
()
src/components/Svgs.tsx:245
Function
ChevronDownSvg
()
src/components/Svgs.tsx:142
Function
ChevronLeftSvg
()
src/components/Svgs.tsx:223
Function
ChevronRightSvg
()
src/components/Svgs.tsx:234
Function
CloseSvg
()
src/components/Svgs.tsx:2679
Function
Coach
()
src/pages/settings/coach.tsx:139
Function
CoachSvg
(props: ComponentProps<"svg">)
src/pages/settings/coach.tsx:10
Function
CreateAProfileSection
({ setLoginScreenState, }: { setLoginScreenState: React.Dispatch<React.SetStateAction<LoginScreenState>>;
src/components/RightBar.tsx:622
Function
DailyQuestsSection
()
src/components/RightBar.tsx:222
Function
DoneSvg
(props: ComponentProps<"svg">)
src/components/Svgs.tsx:2701
Function
DoubleOrNothingSvg
(props: ComponentProps<"svg">)
src/pages/shop.tsx:88
Function
DuoPlushieSvg
(props: ComponentProps<"svg">)
src/pages/shop.tsx:155
Function
EditPencilSvg
()
src/components/Svgs.tsx:3547
Function
EmptyFireSvg
(props: ComponentProps<"svg">)
src/components/Svgs.tsx:2368
Function
EmptyFireTopBarSvg
(props: ComponentProps<"svg">)
src/components/TopBar.tsx:17
Function
EmptyGemSvg
(props: ComponentProps<"svg">)
src/components/Svgs.tsx:2448
Function
EmptyGemSvg
(props: ComponentProps<"svg">)
src/pages/shop.tsx:76
Function
EmptyGemTopBarSvg
(props: ComponentProps<"svg">)
src/components/TopBar.tsx:32
Function
EmptyMedalSvg
({ size = 35 }: { size?: number })
src/components/Svgs.tsx:3493
Function
FacebookLogoSvg
(props: ComponentProps<"svg">)
src/components/LoginScreen.tsx:8
Function
FastForwardSvg
()
src/components/Svgs.tsx:727
Function
FireSvg
()
src/components/Svgs.tsx:2411
Function
FirstPlaceSvg
()
src/components/Svgs.tsx:3391
Function
Flag
({ language, width = 84, }: { language: Language; width?: number; })
src/components/Flag.tsx:7
Function
ForgotPassword
()
src/pages/forgot-password.tsx:24
Function
GemSvg
()
src/components/Svgs.tsx:2460
Function
GlobeIconSvg
(props: ComponentProps<"svg">)
src/components/Svgs.tsx:76
Function
GlobeSvg
(props: ComponentProps<"svg">)
src/components/Svgs.tsx:4
Function
GoldenBookSvg
()
src/components/Svgs.tsx:365
Function
GoldenDumbbellSvg
()
src/components/Svgs.tsx:567
Function
GoldenShineSvg
()
src/components/Svgs.tsx:270
Function
GoldenTreasureSvg
()
src/components/Svgs.tsx:1181
Function
GoldenTrophySvg
()
src/components/Svgs.tsx:784
Function
GoogleLogoSvg
(props: ComponentProps<"svg">)
src/components/LoginScreen.tsx:25
Function
GuidebookSvg
()
src/components/Svgs.tsx:665
Function
Home
()
src/pages/index.tsx:13
Function
HoverLabel
({ text, textColor, }: { text: string; textColor: `text-${string}`; })
src/pages/learn.tsx:577
Function
LanguageCarousel
()
src/components/LanguageCarousel.tsx:82
Function
LanguageDropDown
()
src/components/LanguageDropDown.tsx:7
Function
LanguageHeader
()
src/components/LanguageHeader.tsx:4
Function
Leaderboard
()
src/pages/leaderboard.tsx:117
Function
LeaderboardBannerSvg
(props: ComponentProps<"svg">)
src/components/Svgs.tsx:2779
Function
LeaderboardExplanationSection
()
src/pages/leaderboard.tsx:22
Function
LeaderboardExplanationSvg
()
src/components/Svgs.tsx:3167
Function
LeaderboardProfile
({ place, name, xp, isCurrentUser, }: { place: number; name: string; xp: number; isCurrentUser
src/pages/leaderboard.tsx:71
Function
LeaderboardRankSection
()
src/components/RightBar.tsx:193
Function
Learn
()
src/pages/learn.tsx:490
Function
LeftBar
({ selectedTab }: { selectedTab: Tab | null })
src/components/LeftBar.tsx:29
Function
LeftBarMoreMenuSvg
(props: ComponentProps<"svg">)
src/components/LeftBar.tsx:11
Function
Lesson
()
src/pages/lesson.tsx:59
next →
1–100 of 169, ranked by callers