reflex/reflex/.templates/jinja/web/pages
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
..
_app.js.jinja2 use $ syntax (#4237) 2024-10-24 14:34:39 -07:00
_document.js.jinja2 Rename pynecone to reflex (#1236) 2023-06-25 16:56:55 -07:00
base_page.js.jinja2 [REF-1365] Radix + Tailwind Compatibility (and allow tailwind to be completely disabled) (#2246) 2023-12-28 00:14:04 -08:00
component.js.jinja2 Format component as React string (#1848) 2023-09-20 19:30:38 -07:00
custom_component.js.jinja2 [ENG-4010]Codeblock cleanup in markdown (#4233) 2024-11-07 19:18:14 -08:00
index.js.jinja2 use dict instead of set to store hooks (#2995) 2024-04-03 17:13:42 -07:00
stateful_component.js.jinja2 add deps and position field in VarData (#4518) 2024-12-13 13:28:55 -08:00
stateful_components.js.jinja2 [REF-144] Add context in each component to prevent rerenders (#2198) 2023-11-27 16:05:59 -08:00
utils.js.jinja2 components as literal vars (#4223) 2024-10-30 11:31:28 -07:00