-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
staleNeeds to be re-evaluated to remain currentNeeds to be re-evaluated to remain current
Description
If <Diagram /> is not inside a <Stack /> results in a maximum update depth exceeded error
To reproduce, remove the <Stack /> from the code sandbox sample:
<SandboxComponent>
<Box>
<Box direction='row'>
{[1, 2].map(id => (
<Node key={id} id={id} />
))}
</Box>
<Box direction='row'>
{[3, 4].map(id => (
<Node key={id} id={id} background='neutral-2' />
))}
</Box>
</Box>
<Diagram
connections={[
connection('1', '4', { color: 'accent-2' }),
]}
/>
</SandboxComponent>
Metadata
Metadata
Assignees
Labels
staleNeeds to be re-evaluated to remain currentNeeds to be re-evaluated to remain current