Skip to main content

asmyshlyaev177/state-in-url

SkillsMP a collecté 9 skills depuis asmyshlyaev177/state-in-url. Ouvrez un skill pour examiner sa source et ses détails.

Dernière activité source enregistrée
Catalogue SkillsMP mis à jour
skills collectés
9
Étoiles GitHub
418
Forks GitHub
11

Skills dans ce dépôt

Affichage de 9 skills collectés sur 9.

métier
Développeurs de logiciels
description

Define typed, module-scoped state and wrap useUrlState in a feature-scoped custom hook so unrelated React components share the same URL-synced state. Covers drawer/modal open-state, tab switching, multi-select toggles, reset/defaults semantics, and the…

Langue du texte source : anglais

mis à jour
métier
Développeurs de logiciels
description

Use the URL as a form draft store by pairing useUrlState with react-hook-form (or formik). Share one module-scoped defaults object between both libraries; hydrate useForm.defaultValues from urlState; push form changes back into setUrl via RHF subscribe() (NOT…

Langue du texte source : anglais

mis à jour
métier
Développeurs de logiciels
description

Reconcile instant local input feedback with URL write throttling. setState updates internal state synchronously (instant re-render); setUrl is throttled and asynchronous (URL catches up on the next tick). Use this skill for text inputs, search boxes, sliders,…

Langue du texte source : anglais

mis à jour
métier
Développeurs de logiciels
description

SSR-safe useUrlState in Next.js App Router. Forward searchParams from server pages (awaiting the Promise in Next.js 15+) rather than calling useSearchParams(), decide between useHistory true/false, keep pages prerenderable, and use a Proxy (formerly…

Langue du texte source : anglais

mis à jour
métier
Développeurs de logiciels
description

Set up useUrlState for React Router v7 (state-in-url/react-router), React Router v6 (state-in-url/react-router6 — moved here in 6.0.0), and Remix v2 (state-in-url/remix). The hook API is identical across all three; only the import path and per-call…

Langue du texte source : anglais

mis à jour
métier
Développeurs de logiciels
description

Use useSharedState (from state-in-url, NOT a framework subpath) as a framework-agnostic cross-component state primitive when URL sync is explicitly NOT wanted. Same module-scoped default-state-identity rule as useUrlState. A lightweight Context.Provider…

Langue du texte source : anglais

mis à jour
métier
Concepteurs web et d'interfaces numériques
description

Use when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a frontend interface. Covers websites, landing pages, dashboards, product UI, app shells,…

Langue du texte source : anglais

mis à jour
métier
Concepteurs web et d'interfaces numériques
description

Use when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a frontend interface. Covers websites, landing pages, dashboards, product UI, app shells,…

Langue du texte source : anglais

mis à jour
métier
Concepteurs web et d'interfaces numériques
description

Use when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a frontend interface. Covers websites, landing pages, dashboards, product UI, app shells,…

Langue du texte source : anglais

mis à jour
Affichage de 9 skills collectés sur 9.