router
router copied to clipboard
feat: location add state attribute
#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 is attempting to deploy a commit to the Tanstack Team on Vercel.
A member of the Team first needs to authorize it.
This will need to be reworked for TanStack Router