router icon indicating copy to clipboard operation
router copied to clipboard

feat: location add state attribute

Open bingling0084 opened this issue 3 years ago • 1 comments

#286 Location type add state. You can use navigate with state like this: const navigate = useNavigate(); navigate({ to: '/', state: { name: 'Lily' } });

And read state: const location = useLocation(); get state by location.current.state

bingling0084 avatar Jun 14 '22 12:06 bingling0084

@bingling0084 is attempting to deploy a commit to the Tanstack Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Jun 14 '22 12:06 vercel[bot]

This will need to be reworked for TanStack Router

tannerlinsley avatar Nov 10 '22 15:11 tannerlinsley