renderAsync or render? #4091
-
|
From api jsdocs, However, recent diagrams like flowchart v2, mindmap and timeline are all seems to be async, and doesnot work in latest release 9.4.0. This is confusing me as maintainers are creating async diagrams while marking asyncRender deprecated. Can any team member explain this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hmm, I agree it's a bit confusing. |
Beta Was this translation helpful? Give feedback.
Hmm, I agree it's a bit confusing.
You can use
renderAsyncfor all diagrams now.The change coming in v10 is that the current
renderwill be replaced byrenderAsync, sorenderAsyncfunction will technically be removed in v10.