useRoute, setLocation: get/set path to trigger effect
const [, params] = useRoute('/item/:id')
const [, setLocation] = useLocation()
onDoubleClick={e => (e.stopPropagation(), setLocation('item/' + e.object.name))}
useRoute, setLocation: get/set path to trigger effect
const [, params] = useRoute('/item/:id')
const [, setLocation] = useLocation()
onDoubleClick={e => (e.stopPropagation(), setLocation('item/' + e.object.name))}