#Handle callback on start edge?
1 messages · Page 1 of 1 (latest)
It's not a failure on connect or anything, which would immediately point me to the onConnect callback. No callback I've tried seems to work :/
on closer inspection it seems like everything is functioning except the visibility of the connection
is there some reason the connection would be hidden?
the onconnect callback fires
if I resize the node, the edge appears.....
React Flow]: Couldn't create edge for target handle id: "seed", edge id: reactflow__edge-0d38007f-5b5d-42bb-b11f-eec93eac38e8INT-3ab52db7-7835-409b-9742-cdbb84283789seed. Help:
not sure why this is happening as there is definitely a target handle with id "seed"
so it's not failing because it can't find it
looked through the discord issues at a gample and found https://reactflow.dev/api-reference/hooks/use-update-node-internals
i think this might be what i need
it was
could we put a link to that in the docs for https://reactflow.dev/error#008 ?
i'll admit that it's my fault for not catching the warning sooner, but it's frustrating that what the error points you to doesn't show you what will probably be the solution
<@&782949287105396747> https://github.com/xyflow/web/pull/421
Links useUpdateNodeInternals so that users seeing error 008 because they modified handles programmatically can easily fix their bug.
Sounds reasonable! Thanks for the PR.