Compare commits
1
Commits
pre-transplant
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c9cd26e3ee |
@@ -30,7 +30,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@hanzo/event": "^0.3.1",
|
||||
"@hanzo/observe": "^0.1.0"
|
||||
"@hanzo/observe": "^0.1.6"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": ">=18"
|
||||
|
||||
@@ -32,6 +32,12 @@ export function useReplay(
|
||||
|
||||
const start = (): void => {
|
||||
if (cancelled) return
|
||||
// ^0.1.6 is a FLOOR, not a preference: the pointer position ($x/$y and the
|
||||
// viewport it is relative to) is what a heat map is drawn from, and observe
|
||||
// did not measure it before 0.1.6. An older observe still loads, still
|
||||
// annotates, and still reports every click — so the engine looks healthy
|
||||
// while the heat map stays empty, which is exactly how this went unnoticed
|
||||
// until the warehouse showed zero positions against 48 clicks.
|
||||
import('@hanzo/observe')
|
||||
.then(({ observe, wireProps }) => {
|
||||
if (cancelled) return
|
||||
|
||||
Reference in New Issue
Block a user