Recursive components #2698
romain-bury
announced in
Ideas
Replies: 0 comments
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.
-
Following a chat with @masenf on Discord, this thread aims to discuss how a recursive component can be implemented in reflex.
The idea would be to make the following code runnable (while today, it throws the following error "RecursionError: maximum recursion depth exceeded while calling a Python object")
For future references, below is the initial thread / discussion on github.
Following on that, can you point me where the memoization happens in the current code, so that i can see how it works? How difficult you think it would be to allow that mechanism to handle props?
Beta Was this translation helpful? Give feedback.
All reactions