Skip to content

Instantly share code, notes, and snippets.

View LargatSeif's full-sized avatar

Seifeddine Largat LargatSeif

View GitHub Profile
@LargatSeif
LargatSeif / use-debounced-search-param.ts
Created November 7, 2025 00:39 — forked from mfrancis107/use-debounced-search-param.ts
Tanstack Search Param Debouncer
// src/routes/search/useDebouncedSearchParam.ts
import { useEffect, useMemo, useRef, useState } from 'react'
import { useDebouncedValue } from '@tanstack/react-pacer' // React adapter re-exports
// Alternative import also works in examples: '@tanstack/react-pacer/debouncer'.
// See Pacer React adapter docs. :contentReference[oaicite:5]{index=5}
type RouteSearchFrom<RouteApi> = RouteApi extends { types: { fullSearchSchema: infer TSchema } }
? TSchema extends Record<string, unknown>
? TSchema
: Record<string, unknown>
@LargatSeif
LargatSeif / README.md
Last active October 31, 2025 20:54 — forked from cugu/README.md
Webhooks for PocketBase

Webhooks for PocketBase (v0.29.0-migrated by me :) )

A simple webhook plugin for PocketBase.

Adds a new collection "webhooks" to the admin interface, to manage webhooks.

Example

The webhook record in the following example send create, update, and delete events in the tickets collection to http://localhost:8080/webhook.