Mohamed
NNovu
•Created by Mohamed on 9/5/2024 in #💬│support
Workflow Nodes take a bit of time to be rendered.
Hello guys,
I just wanna share something I noticed while building complex flows that contains more than 10 nodes. When the number of nodes is increasing, the next node I add it took 3-5 sec to be shown on the flow editor, I also noticed a delay when updating the node title from its sidebar to be fully updated on the actual node in flow editor.
I looked at the codebase to see what's going on, I found out there is a memoization for the ChannelNode component which is the parent of WorkflowNode, also after adding some logs inside ChannelNode and WorkflowsNode, these logs keep printing out whenever new node is being added so many times.
so I don't know how to track/debug this issue, is it more related to a react-flow kinda behavior ? or it's more likely a hidden issue in these main component (FlowEditor, WorkflowEditor, WorkflowNode, ChannelNode)
really appreciated any thoughts from u guys
4 replies
NNovu
•Created by Mohamed on 3/11/2024 in #💬│support
Is there any way to let a specific channel node to have 3 handles top, left, right ?
3 replies
NNovu
•Created by Mohamed on 9/18/2023 in #💬│support
what's react-app-rewired used for in Web ? another Q about Module Federation!
I'm just a new member to novu community and trying to figure out how the stuff work, very interested in web module and trying to know how it works, so what's usage of react-app-rewired ? also is it possible to use webpack module federation to try to export some components like workflow to be used in a separate react side project?
4 replies