5 Ways to Optimize React Flow in 10 minutes

Поделиться
HTML-код
  • Опубликовано: 14 янв 2025

Комментарии • 14

  • @RichardWillis
    @RichardWillis 4 дня назад

    Great tips, thanks man 👍 I would also suggest to check your custom drag handlers (if you have any). If for example you perform any update on nodes state while dragging (eg calling setNodes) this will result in terrible performance.

    • @usmanabdurehman97
      @usmanabdurehman97  4 дня назад +1

      Thanks for the tip man. :). Also thanks for the compliment

  • @collinsk8754
    @collinsk8754 2 месяца назад

    Very useful tips!

  • @ArchEneme
    @ArchEneme День назад

    Hi Usman, nice content! keep up the good work.
    Can you make a video to show how to resolve overlapping edges? my use case: we are loading a nodes and edges details from the DB (what are the nodes and what connect to what) and then render it on ReactFlow, with this we are facing an issues where the edges are overlapping nodes and not resulting in a hierarchical view. This is to illustrate a flow chart with 20+ nodes which are inter-connected.

    • @usmanabdurehman97
      @usmanabdurehman97  День назад

      For building a node tree/hierarchical view, have you used some algo like dagre/elk or are you using some custom layout logic? If you dont want the edges to overlap the nodes and what not, you can use the react-flow-smart-edge package. That package does the job.

  • @bigshade577
    @bigshade577 2 месяца назад

    Hey Usman can you create a tutorial on how we can go from one node to another and pass data? I want to build a workflow application

    • @usmanabdurehman97
      @usmanabdurehman97  2 месяца назад

      Hi bigShade, I have made an advanced course on React Flow where I have covered computational/cyclic flows. You can check it out for that.

  • @altered.thought
    @altered.thought 2 месяца назад

    Thank you sir for the good content, please Build a WhatsApp Chatbot Flow.

    • @usmanabdurehman97
      @usmanabdurehman97  2 месяца назад

      Working on that course. Thanks for the kind comment :)

    • @altered.thought
      @altered.thought 2 месяца назад +1

      @@usmanabdurehman97🎉 thank you very much sir 😎

    • @altered.thought
      @altered.thought 24 дня назад

      @@usmanabdurehman97Greetings sir, Wanted to check how the course is coming along, can we still get it before year end? 😊