reflex/reflex/compiler
Thomas Brandého 1444421766
add deps and position field in VarData (#4518)
* fix memoized event trigger order

* allow to declare deps in event signature for memoized event triggers

* clean up the code to pass tests

* handle position of hooks

* clean up code

* revert test changes

* add future annotations

* remove non-necessary stuff

* reuse data_callback name if already set during first call to add_hooks

* remove HookVar and use Var with VarData instead

* remove test change

* readd removed line

* fix order of stmt for cleaner code

* fix typing

* something broke during the merge I guess

* remove hack and pass proper const for position

* oops, bad syntax in jinja

* use "hook_position" instead of "hook_positions"

match the name of the enum

---------

Co-authored-by: Masen Furer <m_github@0x26.net>
2024-12-13 13:28:55 -08:00
..
__init__.py Rename pynecone to reflex (#1236) 2023-06-25 16:56:55 -07:00
compiler.py More env var cleanup (#4248) 2024-11-05 12:25:13 -08:00
templates.py add deps and position field in VarData (#4518) 2024-12-13 13:28:55 -08:00
utils.py enable C4 rule (#4536) 2024-12-13 12:37:34 -08:00