web icon indicating copy to clipboard operation
web copied to clipboard

Document new connection callback API and `useConnection` hook.

Open hayleigh-dot-dev opened this issue 1 year ago • 1 comments

We tweaked the types of useConnection, onConnectEnd, and onReconnectEnd slightly. This PR updates the docs to reflect the new API. It also documents the InternalNode type as that was being referenced without being documented.

Closes #471.

hayleigh-dot-dev avatar Aug 19 '24 22:08 hayleigh-dot-dev

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
reactflow-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 19, 2024 10:23pm
svelteflow-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 19, 2024 10:23pm
xyflow-svelte-examples ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 19, 2024 10:23pm
xyflow-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 19, 2024 10:23pm

vercel[bot] avatar Aug 19 '24 22:08 vercel[bot]

Good idea to document InternalNode as well!

moklick avatar Aug 28 '24 22:08 moklick