Skip to main content

asmyshlyaev177/state-in-url

SkillsMP 已收集 asmyshlyaev177/state-in-url 中的 9 个 Skill。打开任一 Skill 可查看来源和详情。

最近记录的来源活动
SkillsMP 收录数据更新
已收集 skills
9
GitHub 星标
418
GitHub Forks
11

这个仓库中的 skills

2 个职业分类 · 已分类 100%

已展示 9 / 9 个已收集 Skill。

职业分类
软件开发工程师
描述

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…

原文语言:英语

更新
职业分类
软件开发工程师
描述

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…

原文语言:英语

更新
职业分类
软件开发工程师
描述

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

原文语言:英语

更新
职业分类
软件开发工程师
描述

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…

原文语言:英语

更新
职业分类
软件开发工程师
描述

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…

原文语言:英语

更新
职业分类
软件开发工程师
描述

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…

原文语言:英语

更新
职业分类
网页与数字界面设计师
描述

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

原文语言:英语

更新
职业分类
网页与数字界面设计师
描述

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

原文语言:英语

更新
职业分类
网页与数字界面设计师
描述

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

原文语言:英语

更新
已展示 9 / 9 个已收集 Skill。