The bridgeInstance is appearing as null, causing the onEditChange callback registration to get skipped. I think this is due to the useEffect I've changed in this PR not having a dependency array, causing it to run every render and potentially causing a race condition.
I had some sporadic errors with the @/utils imports whilst developing so switched them to use ES Module imports which seems to work better.
The
bridgeInstance
is appearing as null, causing theonEditChange
callback registration to get skipped. I think this is due to the useEffect I've changed in this PR not having a dependency array, causing it to run every render and potentially causing a race condition. I had some sporadic errors with the@/utils
imports whilst developing so switched them to use ES Module imports which seems to work better.