(ctx context.Context, ref *VDomRef, op VDomRefOperation)
| 426 | } |
| 427 | |
| 428 | func QueueRefOp(ctx context.Context, ref *VDomRef, op VDomRefOperation) { |
| 429 | if ref == nil || !ref.HasCurrent { |
| 430 | return |
| 431 | } |
| 432 | vc := getRenderContext(ctx) |
| 433 | if vc == nil { |
| 434 | panic("QueueRefOp must be called within a component (no context)") |
| 435 | } |
| 436 | if op.RefId == "" { |
| 437 | op.RefId = ref.RefId |
| 438 | } |
| 439 | vc.Root.QueueRefOp(op) |
| 440 | } |
| 441 | |
| 442 | func depsEqual(deps1 []any, deps2 []any) bool { |
| 443 | if len(deps1) != len(deps2) { |
nothing calls this directly
no test coverage detected