You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Hook code snippets that are returned by both _get_all_hooks and _get_all_hooks_internal are not de-duplicated, which can lead to rendering problems when const declarations are re-defined.
Expected behavior
All hooks code should always be de-duplicated.
Specifics (please complete the following information):
Python Version: 3.12
Reflex Version: 0.6.7.dev1
OS: macOS
Browser (Optional): chrome
Additional context
Care should be taken in regard to hook ordering (internal should always come first) and avoiding extra recursive calls (don't call _get_all_hooks_internal inside _get_all_hooks to avoid performance implications)
The text was updated successfully, but these errors were encountered:
Describe the bug
Hook code snippets that are returned by both
_get_all_hooks
and_get_all_hooks_internal
are not de-duplicated, which can lead to rendering problems whenconst
declarations are re-defined.To Reproduce
Expected behavior
All hooks code should always be de-duplicated.
Specifics (please complete the following information):
Additional context
Care should be taken in regard to hook ordering (internal should always come first) and avoiding extra recursive calls (don't call
_get_all_hooks_internal
inside_get_all_hooks
to avoid performance implications)The text was updated successfully, but these errors were encountered: