What is the intended value of concurrent rendering? #1203
JamesHutchison
started this conversation in
General
Replies: 2 comments 6 replies
-
Rationale is in the PR |
Beta Was this translation helpful? Give feedback.
4 replies
-
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is someone able to clarify why effort was made to create this feature? Is there a test case that demonstrates its value?
I am asking because I have a pretty complex object that takes tangible time to render, and I was unable to notice a difference. When I dug through the code, I am not fully certain, but from what I can tell, the concurrent render provides no advantages over the serial one.
The reasoning is that components shouldn't have blocking I/O anyways, and you can't use an await in them, so all of your components will kicking off data fetching via an
async
use_effect
anyways.If the intent was to leverage multiple CPUs, then the feature needs to be rewritten to leverage that, unless there's some Python 3.12 / 3.13 feature that makes this more worthwhile (and there might be, I haven't dug into 3.12 recently)
Beta Was this translation helpful? Give feedback.
All reactions