Pinned Loading
-
withPreventDefault
withPreventDefault 1/**
2* A higher-order function that wraps a given function with a call to
3* `preventDefault` on the event.
4*/
5export function withPreventDefault<T extends (...args: any[]) => any>(
-
debounce
debounce 1/**
2* Creates a debounced function that delays invoking `func` only for subsequent
3* calls within the `debounceDelayMs` period after the first call.
4*
5* - `func`: Function to debounce. Can be asynchronous.
-
connectRouter
connectRouter 1import type { ReactElement, ComponentType } from "react";
23import { useLocation, useNavigate, useParams } from "react-router-dom";
45export type Router = {
-
stats
stats 1"""
2This script fetches and processes GitHub repository statistics.
34- Fetches contributor statistics and pull requests from a specified GitHub repo
5- Aggregates data by quarter and author
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.