- 8f95c2f: new description jsDoc for hooks
- 92f8468: nested layouts
- b49843a: fix typo in README.md file's
- 50d2145: deploy website to vercel
- e484e96:
useSearchParams
hookforward
method onuseRouter()
hook docs are done
- 9d59349: Shorten cli name
Added hooks:
- useRouter
- useParams
- usePathname
improve cli DX
by adding --watch flag to another-react-router init
command
for example we have vite project with dev script in package.json
and there we can modify this script with:
"dev": "sh -c 'bunx another-react-router init --watch & vite'"
so now init --watch
and vite
runs in parallel
spread routes is now also ready to use
for example we have /store/[...slug]/
route
and pathname in browser /store/987/164
, so now params should be
{
"slug": ["987", "164"]
}
and a bunch of some details.
- 633b7a7: Published to npm, cli init command got --watch flag
- 5dc00c0: Represents previous release (v1.1.0)