Skip to content

[Question] useNodeRender performance or what #954

@fabrifls

Description

@fabrifls

🙋 SDK Version

0.5.1

📌 Layout

Fixed layout?

📝 Question Description

I have trees with more than 300 nodes, and what I'm noticing is that having them open for a short time starts to drain the layout's performance (laggin).

What I see in the logs is the warning:

Listeners length >= 175 Error Component Stack
Image

It's hard to debug, but when I comment out the line const nodeRender = useNodeRender() in the BaseNode, the warning doesn't appear, so it seems to be coming from there.

Do you think flows can have a node limit within which performance is maintained?

Any recommendations for trees with a large number of nodes?

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions