Astro Setup

Set up useUrlState in Astro (state-in-url/astro) inside React islands, and keep state in the URL on pages with no client framework at all through encodeState/decodeState in the frontmatter. Covers the searchParams island prop for a matching server render, sharing state between islands, and the replace/push choice with no client router involved. Load this skill when the project is Astro, with React islands, Preact islands (compat), or no client framework at all.

asmyshlyaev177 Updated

File contents

asmyshlyaev177/state-in-url commit 67bc0cd12a

Frequently asked questions

npx get-skill add asmyshlyaev177/astro-setup