state-in-url

Store state in URL as in object, types and structure are preserved, with TS validation. Same API as React.useState, wthout any hasssle or boilerplate. Next.js@14-15, react-router@6-7, and remix@2.
v5.0.0 URL: https://unpkg.com/state-in-url@5.0.0/dist/index.mjs
OpenBrowse Files
state in urluseSearchParamsuseUrlStateurl statesearch paramsnuqs alternativereactivejsonstate syncstate managementencodedecodeNext.jsreact-routerremixremixjsurlurl synchronizationurl syncstate synchronizationsynchronized statestate-in-urlstorereact hookstate hookurl-stateclient components communicationquery stringquery-stringquerystringsearch-paramssearchparamsparamsparsestringifyquery paramstypescripthooksreact.jsreactjsreactNextJSquery params parserquery params parsingshared statestate sharingfront-endstate-managementstate-syncsearchencode urldecode urlfast

@baurine/use-url-state

react useUrlState hook
v0.1.0 URL: https://unpkg.com/@baurine/use-url-state@0.1.0/dist/index.js
OpenBrowse Files
react hookuseUrlState