Skip to main content

asmyshlyaev177/state-in-url

SkillsMP hat 9 Skills aus asmyshlyaev177/state-in-url gesammelt. Öffne einen Skill, um Quelle und Details zu prüfen.

Letzte erfasste Quellaktivität
SkillsMP-Katalog aktualisiert
gesammelte Skills
9
GitHub-Stars
418
GitHub-Forks
11

Skills in diesem Repository

2 Berufskategorien · 100% klassifiziert

Es werden 9 von 9 gesammelten Skills angezeigt.

Beruf
Softwareentwickler
Beschreibung

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…

Quellsprache: Englisch

Aktualisiert
Beruf
Softwareentwickler
Beschreibung

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…

Quellsprache: Englisch

Aktualisiert
Beruf
Softwareentwickler
Beschreibung

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,…

Quellsprache: Englisch

Aktualisiert
Beruf
Softwareentwickler
Beschreibung

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…

Quellsprache: Englisch

Aktualisiert
Beruf
Softwareentwickler
Beschreibung

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…

Quellsprache: Englisch

Aktualisiert
Beruf
Softwareentwickler
Beschreibung

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…

Quellsprache: Englisch

Aktualisiert
Beruf
Web- und digitale Schnittstellendesigner
Beschreibung

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,…

Quellsprache: Englisch

Aktualisiert
Beruf
Web- und digitale Schnittstellendesigner
Beschreibung

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,…

Quellsprache: Englisch

Aktualisiert
Beruf
Web- und digitale Schnittstellendesigner
Beschreibung

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,…

Quellsprache: Englisch

Aktualisiert
Es werden 9 von 9 gesammelten Skills angezeigt.