Contextual Zoom
This example shows how the current zoom level can be used by a node to decide which content to show.
We are using selecting the zoom via the useStore
hook to update our custom node whenever the zoom changes.
This example shows how the current zoom level can be used by a node to decide which content to show.
We are using selecting the zoom via the useStore
hook to update our custom node whenever the zoom changes.