react-router-remix-setup
CommunityWire useUrlState into React Router or Remix
Software Engineering#routing#migration guide#remix#react-router#url state#useurlstate#navigation options
Authorasmyshlyaev177
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Ensures developers correctly integrate state-in-url’s useUrlState hook into React Router or Remix while matching the correct import path and navigation option behavior for each router version.
Core Features & Use Cases
- Shared hook behavior across platforms: Keeps the hook signature, return shape, and core semantics consistent for React Router v6, v7, and Remix v2.
- Correct per-call navigation options: Supports NavigateOptions-style controls like preventScrollReset, state, and replace to preserve UX expectations during URL-driven UI updates.
- Avoids common migration and import pitfalls: Prevents breaking changes caused by using the wrong subpath for React Router v6 versus v7.
- SSR and hydration considerations: Clarifies Remix v2 hydration behavior versus React Router CSR-only defaults.
Quick Start
Load the react-router-remix-setup skill and import useUrlState from state-in-url/react-router for v7, state-in-url/react-router6 for v6, or state-in-url/remix for Remix v2 while passing your desired NavigateOptions per setUrl call.
Dependency Matrix
Required Modules
feature-state-hook
Components
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: react-router-remix-setup Download link: https://github.com/asmyshlyaev177/state-in-url/archive/main.zip#react-router-remix-setup Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.