reflex/scripts
Masen Furer 5510eaf820
[REF-2265] ComponentState: scaffold for copying State per Component instance (#2923)
* [REF-2265] ComponentState: scaffold for copying State per Component instance

Define a base ComponentState which can be used to easily create copies of the
given State definition (Vars and EventHandlers) that are tied to a particular
instance of a Component (returned by get_component)

* Define `State` field on `Component` for typing compatibility.

This is an Optional field of Type[State] and is populated by ComponentState.

* Add integration/test_component_state.py

Create two independent counters and increment them separately

* Add unit test for ComponentState
2024-03-29 09:22:25 -07:00
..
benchmarks [REF-1682][REF-1683][REF-1684][REF-2283]Benchmark reflex package size and .web folder (#2880) 2024-03-25 08:33:28 +00:00
darglint_test.bat Rename pynecone to reflex (#1236) 2023-06-25 16:56:55 -07:00
integration.sh Docstrings for radix components (#2407) 2024-01-24 12:39:05 -08:00
migrate_project_to_rx_chakra.py CLI script to maintain Chakra backed components in rx namespace in older apps (#2322) 2024-02-08 11:12:20 -08:00
pyi_generator.py [REF-2265] ComponentState: scaffold for copying State per Component instance (#2923) 2024-03-29 09:22:25 -07:00
wait_for_listening_port.py fail faster in integration test (#1493) 2023-08-01 16:19:39 -07:00