SYMBOL INDEX (1044 symbols across 189 files) FILE: docs/docs_app/app.py function Example (line 24) | def Example(): function _get_examples (line 30) | def _get_examples(): function reload_examples (line 36) | def reload_examples(): function make_app (line 44) | def make_app(name: str): FILE: docs/docs_app/dev.py function wrap_builder (line 25) | def wrap_builder(old_builder): function main (line 61) | def main(): FILE: docs/docs_app/examples.py function load_examples (line 17) | def load_examples() -> Iterator[tuple[str, Callable[[], ComponentType]]]: function all_example_names (line 22) | def all_example_names() -> set[str]: function load_one_example (line 30) | def load_one_example(file_or_name: Path | str) -> Callable[[], Component... function get_normalized_example_name (line 37) | def get_normalized_example_name( function get_main_example_file_by_name (line 45) | def get_main_example_file_by_name( function get_example_files_by_name (line 55) | def get_example_files_by_name( function _iter_example_files (line 66) | def _iter_example_files(root: Path) -> Iterator[Path]: function _load_one_example (line 75) | def _load_one_example(file_or_name: Path | str) -> ComponentType: function _get_root_example_path_by_name (line 133) | def _get_root_example_path_by_name(name: str, relative_to: str | Path | ... class _PrintBuffer (line 142) | class _PrintBuffer: method __init__ (line 143) | def __init__(self, max_lines: int = 10): method set_callback (line 148) | def set_callback(self, function: Callable[[str], None]) -> None: method getvalue (line 151) | def getvalue(self) -> str: method write (line 154) | def write(self, text: str) -> None: function _make_example_did_not_run (line 163) | def _make_example_did_not_run(example_name): function _make_error_display (line 171) | def _make_error_display(message): FILE: docs/docs_app/prod.py function main (line 8) | def main() -> None: FILE: docs/source/_custom_js/src/index.js function mountWidgetExample (line 5) | function mountWidgetExample( function activateView (line 37) | function activateView(mountEl, client, useActivateButton) { function triggerIfInViewport (line 80) | function triggerIfInViewport(element, callback) { FILE: docs/source/_exts/async_doctest.py class TestRunnerWrapper (line 22) | class TestRunnerWrapper: method __init__ (line 23) | def __init__(self, runner: DocTestRunner): method __getattr__ (line 26) | def __getattr__(self, name: str) -> Any: method run (line 29) | def run(self, test: DocTest, *args: Any, **kwargs: Any) -> Any: class AsyncDoctestBuilder (line 35) | class AsyncDoctestBuilder(DocTestBuilder): method test_runner (line 37) | def test_runner(self) -> DocTestRunner: method test_runner (line 41) | def test_runner(self, value: DocTestRunner) -> None: function setup (line 45) | def setup(app: Sphinx) -> None: FILE: docs/source/_exts/autogen_api_docs.py function generate_api_docs (line 39) | def generate_api_docs(): function make_package_section (line 52) | def make_package_section(file: Path) -> str: function make_module_section (line 66) | def make_module_section(file: Path) -> str: function get_module_name (line 79) | def get_module_name(path: Path) -> str: function get_section_symbol (line 83) | def get_section_symbol(path: Path) -> str: function walk_python_files (line 92) | def walk_python_files(root: Path, ignore_dirs: Collection[str]) -> Itera... function setup (line 142) | def setup(app: Sphinx) -> None: FILE: docs/source/_exts/build_custom_js.py function setup (line 10) | def setup(app: Sphinx) -> None: FILE: docs/source/_exts/copy_vdom_json_schema.py function setup (line 9) | def setup(app: Sphinx) -> None: FILE: docs/source/_exts/custom_autosectionlabel.py function get_node_depth (line 23) | def get_node_depth(node: Node) -> int: function register_sections_as_label (line 32) | def register_sections_as_label(app: Sphinx, document: Node) -> None: function setup (line 70) | def setup(app: Sphinx) -> dict[str, Any]: FILE: docs/source/_exts/patched_html_translator.py class PatchedHTMLTranslator (line 6) | class PatchedHTMLTranslator( method starttag (line 9) | def starttag(self, node, tagname, *args, **attrs): function setup (line 23) | def setup(app): FILE: docs/source/_exts/reactpy_example.py class WidgetExample (line 19) | class WidgetExample(SphinxDirective): method run (line 29) | def run(self): function _make_tab_items (line 96) | def _make_tab_items(labeled_content_tuples): function _literal_include (line 106) | def _literal_include(path: Path, linenos: bool): function _join_options (line 124) | def _join_options(option_strings: list[str]) -> str: function _get_file_options (line 131) | def _get_file_options(file: Path) -> list[str]: function _interactive_widget (line 148) | def _interactive_widget(name, with_activate_button): function _string_to_nested_lines (line 175) | def _string_to_nested_lines(content): function setup (line 179) | def setup(app: Sphinx) -> None: FILE: docs/source/_exts/reactpy_view.py class IteractiveWidget (line 16) | class IteractiveWidget(SphinxDirective): method run (line 26) | def run(self): function setup (line 60) | def setup(app: Sphinx) -> None: FILE: docs/source/guides/adding-interactivity/components-with-state/_examples/adding_state_variable/main.py function Gallery (line 12) | def Gallery(): FILE: docs/source/guides/adding-interactivity/components-with-state/_examples/isolated_state/main.py function Gallery (line 12) | def Gallery(): function App (line 46) | def App(): FILE: docs/source/guides/adding-interactivity/components-with-state/_examples/multiple_state_variables/main.py function Gallery (line 12) | def Gallery(): FILE: docs/source/guides/adding-interactivity/components-with-state/_examples/when_variables_are_not_enough/main.py function Gallery (line 19) | def Gallery(): FILE: docs/source/guides/adding-interactivity/dangers-of-mutability/_examples/dict_remove.py function Definitions (line 5) | def Definitions(): FILE: docs/source/guides/adding-interactivity/dangers-of-mutability/_examples/dict_update.py function Form (line 5) | def Form(): FILE: docs/source/guides/adding-interactivity/dangers-of-mutability/_examples/list_insert.py function ArtistList (line 5) | def ArtistList(): FILE: docs/source/guides/adding-interactivity/dangers-of-mutability/_examples/list_re_order.py function ArtistList (line 5) | def ArtistList(): FILE: docs/source/guides/adding-interactivity/dangers-of-mutability/_examples/list_remove.py function ArtistList (line 5) | def ArtistList(): FILE: docs/source/guides/adding-interactivity/dangers-of-mutability/_examples/list_replace.py function CounterList (line 5) | def CounterList(): FILE: docs/source/guides/adding-interactivity/dangers-of-mutability/_examples/moving_dot.py function MovingDot (line 5) | def MovingDot(): FILE: docs/source/guides/adding-interactivity/dangers-of-mutability/_examples/moving_dot_broken.py function MovingDot (line 7) | def MovingDot(): FILE: docs/source/guides/adding-interactivity/dangers-of-mutability/_examples/set_remove.py function Grid (line 5) | def Grid(): FILE: docs/source/guides/adding-interactivity/dangers-of-mutability/_examples/set_update.py function Grid (line 5) | def Grid(): FILE: docs/source/guides/adding-interactivity/multiple-state-updates/_examples/delay_before_count_updater.py function Counter (line 7) | def Counter(): FILE: docs/source/guides/adding-interactivity/multiple-state-updates/_examples/delay_before_set_count.py function Counter (line 7) | def Counter(): FILE: docs/source/guides/adding-interactivity/multiple-state-updates/_examples/set_color_3_times.py function ColorButton (line 5) | def ColorButton(): FILE: docs/source/guides/adding-interactivity/multiple-state-updates/_examples/set_state_function.py function increment (line 4) | def increment(old_number): function Counter (line 10) | def Counter(): FILE: docs/source/guides/adding-interactivity/responding-to-events/_examples/audio_player.py function PlayDinosaurSound (line 7) | def PlayDinosaurSound(): FILE: docs/source/guides/adding-interactivity/responding-to-events/_examples/button_async_handlers.py function ButtonWithDelay (line 7) | def ButtonWithDelay(message, delay): function App (line 16) | def App(): FILE: docs/source/guides/adding-interactivity/responding-to-events/_examples/button_does_nothing.py function Button (line 5) | def Button(): FILE: docs/source/guides/adding-interactivity/responding-to-events/_examples/button_handler_as_arg.py function Button (line 5) | def Button(display_text, on_click): function PlayButton (line 10) | def PlayButton(movie_name): function FastForwardButton (line 18) | def FastForwardButton(): function App (line 26) | def App(): FILE: docs/source/guides/adding-interactivity/responding-to-events/_examples/button_prints_event.py function Button (line 5) | def Button(): FILE: docs/source/guides/adding-interactivity/responding-to-events/_examples/button_prints_message.py function PrintButton (line 5) | def PrintButton(display_text, message_text): function App (line 13) | def App(): FILE: docs/source/guides/adding-interactivity/responding-to-events/_examples/prevent_default_event_actions.py function DoNotChangePages (line 5) | def DoNotChangePages(): FILE: docs/source/guides/adding-interactivity/responding-to-events/_examples/stop_event_propagation.py function DivInDiv (line 5) | def DivInDiv(): FILE: docs/source/guides/adding-interactivity/state-as-a-snapshot/_examples/delayed_print_after_set.py function Counter (line 7) | def Counter(): FILE: docs/source/guides/adding-interactivity/state-as-a-snapshot/_examples/print_chat_message.py function App (line 7) | def App(): FILE: docs/source/guides/adding-interactivity/state-as-a-snapshot/_examples/print_count_after_set.py function Counter (line 5) | def Counter(): FILE: docs/source/guides/adding-interactivity/state-as-a-snapshot/_examples/send_message.py function App (line 5) | def App(): FILE: docs/source/guides/adding-interactivity/state-as-a-snapshot/_examples/set_counter_3_times.py function Counter (line 5) | def Counter(): FILE: docs/source/guides/creating-interfaces/rendering-data/_examples/sorted_and_filtered_todo_list.py function DataList (line 5) | def DataList(items, filter_by_priority=None, sort_by_priority=False): function TodoList (line 15) | def TodoList(): FILE: docs/source/guides/creating-interfaces/rendering-data/_examples/todo_from_list.py function DataList (line 5) | def DataList(items): function TodoList (line 11) | def TodoList(): FILE: docs/source/guides/creating-interfaces/rendering-data/_examples/todo_list_with_keys.py function DataList (line 5) | def DataList(items, filter_by_priority=None, sort_by_priority=False): function TodoList (line 15) | def TodoList(): FILE: docs/source/guides/creating-interfaces/your-first-components/_examples/bad_conditional_todo_list.py function Item (line 5) | def Item(name, done): function TodoList (line 13) | def TodoList(): FILE: docs/source/guides/creating-interfaces/your-first-components/_examples/good_conditional_todo_list.py function Item (line 5) | def Item(name, done): function TodoList (line 10) | def TodoList(): FILE: docs/source/guides/creating-interfaces/your-first-components/_examples/nested_photos.py function Photo (line 5) | def Photo(): function Gallery (line 16) | def Gallery(): FILE: docs/source/guides/creating-interfaces/your-first-components/_examples/parametrized_photos.py function Photo (line 5) | def Photo(alt_text, image_id): function Gallery (line 16) | def Gallery(): FILE: docs/source/guides/creating-interfaces/your-first-components/_examples/simple_photo.py function Photo (line 5) | def Photo(): FILE: docs/source/guides/creating-interfaces/your-first-components/_examples/todo_list.py function Item (line 5) | def Item(name, done): function TodoList (line 10) | def TodoList(): FILE: docs/source/guides/creating-interfaces/your-first-components/_examples/wrap_in_div.py function MyTodoList (line 5) | def MyTodoList(): FILE: docs/source/guides/creating-interfaces/your-first-components/_examples/wrap_in_fragment.py function MyTodoList (line 5) | def MyTodoList(): FILE: docs/source/guides/escape-hatches/_examples/material_ui_button_no_action.py function HelloWorld (line 12) | def HelloWorld(): FILE: docs/source/guides/escape-hatches/_examples/material_ui_button_on_click.py function ViewButtonEvents (line 14) | def ViewButtonEvents(): FILE: docs/source/guides/escape-hatches/_examples/super_simple_chart/main.py function App (line 11) | def App(): FILE: docs/source/guides/escape-hatches/_examples/super_simple_chart/super-simple-chart.js function bind (line 6) | function bind(node, config) { function SuperSimpleChart (line 14) | function SuperSimpleChart(props) { function makePath (line 45) | function makePath(props, domain, data, options) { function makeAxis (line 65) | function makeAxis(props, options) { FILE: docs/source/guides/getting-started/_examples/debug_error_example.py function App (line 5) | def App(): function GoodComponent (line 10) | def GoodComponent(): function BadComponent (line 15) | def BadComponent(): FILE: docs/source/guides/getting-started/_examples/hello_world.py function App (line 5) | def App(): FILE: docs/source/guides/getting-started/_examples/run_fastapi.py function HelloWorld (line 17) | def HelloWorld(): FILE: docs/source/guides/getting-started/_examples/run_flask.py function HelloWorld (line 17) | def HelloWorld(): FILE: docs/source/guides/getting-started/_examples/run_sanic.py function HelloWorld (line 17) | def HelloWorld(): FILE: docs/source/guides/getting-started/_examples/run_starlette.py function HelloWorld (line 17) | def HelloWorld(): FILE: docs/source/guides/getting-started/_examples/run_tornado.py function HelloWorld (line 18) | def HelloWorld(): function make_app (line 22) | def make_app(): FILE: docs/source/guides/getting-started/_static/embed-reactpy-view/main.py function index (line 11) | async def index(request): function ReactPyView (line 16) | def ReactPyView(): FILE: docs/source/guides/managing-state/sharing-component-state/_examples/filterable_list/main.py function FilterableList (line 12) | def FilterableList(): function Search (line 18) | def Search(value, set_value): function Table (line 29) | def Table(value, set_value): FILE: docs/source/guides/managing-state/sharing-component-state/_examples/synced_inputs/main.py function SyncedInputs (line 5) | def SyncedInputs(): function Input (line 14) | def Input(label, value, set_value): FILE: docs/source/reference/_examples/character_movement/main.py class Position (line 11) | class Position(NamedTuple): function rotate (line 17) | def rotate(degrees): function translate (line 25) | def translate(x=0, y=0): function Scene (line 34) | def Scene(): FILE: docs/source/reference/_examples/click_count.py function ClickCount (line 5) | def ClickCount(): FILE: docs/source/reference/_examples/material_ui_switch.py function DayNightSwitch (line 8) | def DayNightSwitch(): FILE: docs/source/reference/_examples/matplotlib_plot.py function PolynomialPlot (line 10) | def PolynomialPlot(): function ExpandableNumberInputs (line 23) | def ExpandableNumberInputs(values, set_values): function plot (line 49) | def plot(title, x, y): function poly_coef_input (line 59) | def poly_coef_input(index, callback): function polynomial (line 72) | def polynomial(x, coefficients): function linspace (line 76) | def linspace(start, stop, n): FILE: docs/source/reference/_examples/network_graph.py function RandomNetworkGraph (line 14) | def RandomNetworkGraph(): function random_network (line 24) | def random_network(number_of_nodes): FILE: docs/source/reference/_examples/pigeon_maps.py function MapWithMarkers (line 8) | def MapWithMarkers(): function use_set (line 34) | def use_set(initial_value=None): FILE: docs/source/reference/_examples/simple_dashboard.py function RandomWalk (line 19) | def RandomWalk(): function RandomWalkGraph (line 48) | def RandomWalkGraph(mu, sigma): function NumberInput (line 74) | def NumberInput(label, value, set_value_callback, domain): function use_interval (line 92) | def use_interval(rate): FILE: docs/source/reference/_examples/slideshow.py function Slideshow (line 5) | def Slideshow(): FILE: docs/source/reference/_examples/snake_game.py class GameState (line 9) | class GameState(enum.Enum): function GameView (line 17) | def GameView(): class Direction (line 45) | class Direction(enum.Enum): function GameLoop (line 53) | def GameLoop(grid_size, block_scale, set_game_state): function use_snake_food (line 119) | def use_snake_food(grid_size, current_snake): function use_interval (line 131) | def use_interval(rate): function create_grid (line 141) | def create_grid(grid_size, block_scale): function create_grid_block (line 168) | def create_grid_block(color, block_scale, key): function assign_grid_block_color (line 182) | def assign_grid_block_color(grid, point, color): FILE: docs/source/reference/_examples/todo.py function Todo (line 5) | def Todo(): FILE: docs/source/reference/_examples/use_reducer_counter.py function reducer (line 4) | def reducer(count, action): function Counter (line 17) | def Counter(): FILE: docs/source/reference/_examples/use_state_counter.py function increment (line 4) | def increment(last_count): function decrement (line 8) | def decrement(last_count): function Counter (line 13) | def Counter(): FILE: src/build_scripts/copy_dir.py function copy_files (line 12) | def copy_files(source: Path, destination: Path) -> None: FILE: src/js/packages/@reactpy/client/src/bind.tsx function infer_bind_from_environment (line 3) | async function infer_bind_from_environment() { function local_preact_bind (line 18) | function local_preact_bind(node: HTMLElement) { function reactjs_bind (line 31) | function reactjs_bind(node: HTMLElement, React: any, ReactDOM: any) { FILE: src/js/packages/@reactpy/client/src/client.ts method constructor (line 15) | constructor() { method onMessage (line 20) | onMessage(type: string, handler: (message: any) => void): () => void { method handleIncoming (line 38) | protected handleIncoming(message: any): void { class ReactPyClient (line 55) | class ReactPyClient method constructor (line 64) | constructor(props: GenericReactPyClientProps) { method sendMessage (line 82) | sendMessage(message: any): void { method loadModule (line 93) | loadModule(moduleName: string): Promise { FILE: src/js/packages/@reactpy/client/src/components.tsx function Layout (line 21) | function Layout(props: { client: ReactPyClient }): JSX.Element { function Element (line 45) | function Element({ model }: { model: ReactPyVdom }): JSX.Element | null { function StandardElement (line 67) | function StandardElement({ model }: { model: ReactPyVdom }) { function UserInputElement (line 81) | function UserInputElement({ model }: { model: ReactPyVdom }): JSX.Element { function ScriptElement (line 114) | function ScriptElement({ model }: { model: ReactPyVdom }) { function ImportedElement (line 149) | function ImportedElement({ model }: { model: ReactPyVdom }) { function useForceUpdate (line 173) | function useForceUpdate() { function useImportSource (line 178) | function useImportSource(model: ReactPyVdom): MutableRefObject { constant SPECIAL_ELEMENTS (line 229) | const SPECIAL_ELEMENTS = { FILE: src/js/packages/@reactpy/client/src/mount.tsx function mountReactPy (line 6) | function mountReactPy(props: MountProps) { FILE: src/js/packages/@reactpy/client/src/types.ts type ReconnectOptions (line 5) | type ReconnectOptions = { type CreateReconnectingWebSocketProps (line 12) | type CreateReconnectingWebSocketProps = { type ReactPyUrls (line 24) | type ReactPyUrls = { type GenericReactPyClientProps (line 29) | type GenericReactPyClientProps = { type MountProps (line 35) | type MountProps = { type ReactPyComponent (line 47) | type ReactPyComponent = ComponentType<{ model: ReactPyVdom }>; type ReactPyVdom (line 49) | type ReactPyVdom = { type ReactPyVdomEventHandler (line 59) | type ReactPyVdomEventHandler = { type ReactPyVdomImportSource (line 65) | type ReactPyVdomImportSource = { type ReactPyModule (line 72) | type ReactPyModule = { type ReactPyModuleBindingContext (line 79) | type ReactPyModuleBindingContext = { type ReactPyModuleBinding (line 84) | type ReactPyModuleBinding = { type BindImportSource (line 94) | type BindImportSource = ( type ImportSourceBinding (line 98) | type ImportSourceBinding = { type LayoutUpdateMessage (line 105) | type LayoutUpdateMessage = { type LayoutEventMessage (line 111) | type LayoutEventMessage = { type IncomingMessage (line 117) | type IncomingMessage = LayoutUpdateMessage; type OutgoingMessage (line 118) | type OutgoingMessage = LayoutEventMessage; type Message (line 119) | type Message = IncomingMessage | OutgoingMessage; type ReactPyClientInterface (line 126) | interface ReactPyClientInterface { FILE: src/js/packages/@reactpy/client/src/vdom.tsx function loadImportSource (line 16) | async function loadImportSource( function createImportSourceElement (line 64) | function createImportSourceElement(props: { function getComponentFromModule (line 111) | function getComponentFromModule( function isImportSourceEqual (line 147) | function isImportSourceEqual( function stringifyImportSource (line 157) | function stringifyImportSource(importSource: ReactPyVdomImportSource) { function createChildren (line 164) | function createChildren( function createAttributes (line 182) | function createAttributes( function createEventHandler (line 206) | function createEventHandler( function createInlineJavaScript (line 234) | function createInlineJavaScript( class ReactPyChild (line 263) | class ReactPyChild extends HTMLElement { method constructor (line 270) | constructor() { method connectedCallback (line 276) | connectedCallback() { method client (line 280) | set client(value: ReactPyClient) { method model (line 284) | set model(value: ReactPyVdom) { method requestUpdate (line 288) | requestUpdate() { method update (line 292) | async update() { method disconnectedCallback (line 337) | disconnectedCallback() { FILE: src/js/packages/@reactpy/client/src/websocket.ts function createReconnectingWebSocket (line 4) | function createReconnectingWebSocket( function nextInterval (line 64) | function nextInterval( FILE: src/js/packages/event-to-object/src/index.ts function convert (line 6) | function convert( function serializeSelection (line 60) | function serializeSelection( function deepCloneClass (line 90) | function deepCloneClass( function classToArray (line 134) | function classToArray( function classToObject (line 165) | function classToObject( function shouldIgnoreValue (line 269) | function shouldIgnoreValue( FILE: src/js/packages/event-to-object/tests/event-to-object.test.ts type SimpleTestCase (line 9) | type SimpleTestCase = { FILE: src/js/packages/event-to-object/tests/tooling/check.ts function checkEventConversion (line 7) | function checkEventConversion( FILE: src/js/packages/event-to-object/tests/tooling/setup.js function setup (line 6) | function setup() { function reset (line 21) | function reset() { FILE: src/reactpy/_console/ast_utils.py function rewrite_changed_nodes (line 18) | def rewrite_changed_nodes( class ChangedNode (line 92) | class ChangedNode: function find_element_constructor_usages (line 97) | def find_element_constructor_usages( class ElementConstructorInfo (line 166) | class ElementConstructorInfo: function _find_comments (line 172) | def _find_comments(lines: list[str]) -> list[str]: function _walk_with_parent (line 181) | def _walk_with_parent( FILE: src/reactpy/_console/cli.py function entry_point (line 11) | def entry_point() -> None: FILE: src/reactpy/_console/rewrite_keys.py function rewrite_keys (line 18) | def rewrite_keys(paths: list[str]) -> None: function generate_rewrite (line 55) | def generate_rewrite(file: Path, source: str) -> str | None: function find_nodes_to_change (line 69) | def find_nodes_to_change(tree: ast.AST) -> list[ChangedNode]: function log_could_not_rewrite (line 90) | def log_could_not_rewrite(file: Path, tree: ast.AST) -> None: FILE: src/reactpy/_console/rewrite_props.py function rewrite_props (line 20) | def rewrite_props(paths: list[str]) -> None: function generate_rewrite (line 30) | def generate_rewrite(file: Path, source: str) -> str | None: function find_nodes_to_change (line 44) | def find_nodes_to_change(tree: ast.AST) -> list[ChangedNode]: function conv_attr_name (line 55) | def conv_attr_name(name: str) -> str: function _construct_prop_item (line 73) | def _construct_prop_item(key: str, value: ast.expr) -> tuple[str, ast.ex... function _rewrite_props (line 95) | def _rewrite_props( FILE: src/reactpy/_html.py function _fragment (line 99) | def _fragment( function _script (line 119) | def _script( class SvgConstructor (line 173) | class SvgConstructor: method __call__ (line 179) | def __call__( method __call__ (line 184) | def __call__(self, *children: VdomChildren) -> VdomDict: ... method __call__ (line 186) | def __call__( method __getattr__ (line 191) | def __getattr__(self, value: str) -> VdomConstructor: class HtmlConstructor (line 274) | class HtmlConstructor: method __getattr__ (line 292) | def __getattr__(self, value: str) -> VdomConstructor: FILE: src/reactpy/_option.py class Option (line 15) | class Option(Generic[_O]): method __init__ (line 18) | def __init__( method name (line 47) | def name(self) -> str: method mutable (line 52) | def mutable(self) -> bool: method default (line 57) | def default(self) -> _O: method current (line 62) | def current(self) -> _O: method current (line 69) | def current(self, new: _O) -> None: method current (line 73) | def current(self) -> None: method subscribe (line 76) | def subscribe(self, handler: Callable[[_O], None]) -> Callable[[_O], N... method is_set (line 85) | def is_set(self) -> bool: method set_current (line 89) | def set_current(self, new: Any) -> None: method set_default (line 112) | def set_default(self, new: _O) -> _O: method reload (line 121) | def reload(self) -> None: method unset (line 125) | def unset(self) -> None: method __repr__ (line 137) | def __repr__(self) -> str: class DeprecatedOption (line 141) | class DeprecatedOption(Option[_O]): method __init__ (line 144) | def __init__(self, *args: Any, message: str, **kwargs: Any) -> None: method current (line 149) | def current(self) -> _O: FILE: src/reactpy/_warnings.py function warn (line 10) | def warn(*args: Any, **kwargs: Any) -> Any: function _frame_depth_in_module (line 19) | def _frame_depth_in_module() -> int: function _iter_frames (line 29) | def _iter_frames(index: int = 1) -> Iterator[FrameType]: FILE: src/reactpy/config.py function boolean (line 17) | def boolean(value: str | bool | int) -> bool: FILE: src/reactpy/core/_f_back.py function f_module_name (line 7) | def f_module_name(index: int = 0) -> str: function f_back (line 17) | def f_back(index: int = 0) -> FrameType | None: FILE: src/reactpy/core/_life_cycle_hook.py class EffectFunc (line 19) | class EffectFunc(Protocol): method __call__ (line 20) | async def __call__(self, stop: Event) -> None: ... class _HookStack (line 26) | class _HookStack(Singleton): # nocov method get (line 35) | def get(self) -> list[LifeCycleHook]: method initialize (line 41) | def initialize(self) -> Token[list[LifeCycleHook]] | None: method reset (line 44) | def reset(self, token: Token[list[LifeCycleHook]] | None) -> None: method current_hook (line 52) | def current_hook(self) -> LifeCycleHook: class LifeCycleHook (line 63) | class LifeCycleHook: method __init__ (line 154) | def __init__( method schedule_render (line 169) | def schedule_render(self) -> None: method use_state (line 180) | def use_state(self, function: Callable[[], T]) -> T: method add_effect (line 197) | def add_effect(self, effect_func: EffectFunc) -> None: method set_context_provider (line 207) | def set_context_provider(self, provider: ContextProvider[Any]) -> None: method get_context_provider (line 215) | def get_context_provider(self, context: Context[T]) -> ContextProvider... method affect_component_will_render (line 223) | async def affect_component_will_render(self, component: Component) -> ... method affect_component_did_render (line 230) | async def affect_component_did_render(self) -> None: method affect_layout_did_render (line 238) | async def affect_layout_did_render(self) -> None: method affect_component_will_unmount (line 245) | async def affect_component_will_unmount(self) -> None: method set_current (line 257) | def set_current(self) -> None: method unset_current (line 269) | def unset_current(self) -> None: FILE: src/reactpy/core/_thread_local.py class ThreadLocal (line 9) | class ThreadLocal(Generic[_StateType]): # nocov method __init__ (line 14) | def __init__(self, default: Callable[[], _StateType]): method get (line 18) | def get(self) -> _StateType: FILE: src/reactpy/core/component.py function component (line 11) | def component( FILE: src/reactpy/core/events.py function event (line 16) | def event( function event (line 25) | def event( function event (line 33) | def event( class EventHandler (line 78) | class EventHandler(BaseEventHandler): method __init__ (line 92) | def __init__( method __eq__ (line 124) | def __eq__(self, other: object) -> bool: method __repr__ (line 137) | def __repr__(self) -> str: function to_event_handler_function (line 143) | def to_event_handler_function( function merge_event_handlers (line 181) | def merge_event_handlers( function merge_event_handler_funcs (line 219) | def merge_event_handler_funcs( function _inspect_event_handler_code (line 238) | def _inspect_event_handler_code(code: CodeType) -> tuple[bool, bool]: FILE: src/reactpy/core/hooks.py function use_state (line 55) | def use_state(initial_value: Callable[[], _Type]) -> State[_Type]: ... function use_state (line 59) | def use_state(initial_value: _Type) -> State[_Type]: ... function use_state (line 62) | def use_state(initial_value: _Type | Callable[[], _Type]) -> State[_Type]: class _CurrentState (line 80) | class _CurrentState(Generic[_Type]): method __init__ (line 83) | def __init__( function use_effect (line 108) | def use_effect( function use_effect (line 115) | def use_effect( function use_effect (line 121) | def use_effect( function use_async_effect (line 180) | def use_async_effect( function use_async_effect (line 187) | def use_async_effect( function use_async_effect (line 193) | def use_async_effect( function use_debug_value (line 275) | def use_debug_value( function create_context (line 306) | def create_context(default_value: _Type) -> Context[_Type]: function use_context (line 326) | def use_context(context: Context[_Type]) -> _Type: function use_connection (line 351) | def use_connection() -> Connection[Any]: function use_scope (line 360) | def use_scope() -> dict[str, Any] | asgi_types.HTTPScope | asgi_types.We... function use_location (line 365) | def use_location() -> Location: function use_reducer (line 373) | def use_reducer( function _create_dispatcher (line 393) | def _create_dispatcher( function use_callback (line 407) | def use_callback( function use_callback (line 414) | def use_callback( function use_callback (line 420) | def use_callback( class _LambdaCaller (line 447) | class _LambdaCaller(Protocol): method __call__ (line 450) | def __call__(self, func: Callable[[], _Type]) -> _Type: ... function use_memo (line 454) | def use_memo( function use_memo (line 461) | def use_memo( function use_memo (line 467) | def use_memo( class _Memo (line 523) | class _Memo(Generic[_Type]): method empty (line 531) | def empty(self) -> bool: function use_ref (line 540) | def use_ref(initial_value: _Type) -> Ref[_Type]: function _use_const (line 552) | def _use_const(function: Callable[[], _Type]) -> _Type: function _try_to_infer_closure_values (line 556) | def _try_to_infer_closure_values( function strictly_equal (line 572) | def strictly_equal(x: Any, y: Any) -> bool: function run_effect_cleanup (line 625) | def run_effect_cleanup(cleanup_func: Ref[_EffectCleanFunc | None]) -> None: FILE: src/reactpy/core/layout.py class Layout (line 58) | class Layout(BaseLayout): method __init__ (line 59) | def __init__(self, root: Component | Context[Any] | ContextProvider[An... method __aenter__ (line 66) | async def __aenter__(self) -> Layout: method __aexit__ (line 84) | async def __aexit__( method deliver (line 111) | async def deliver(self, event: LayoutEventMessage | dict[str, Any]) ->... method _process_event_queue (line 132) | async def _process_event_queue( method render (line 162) | async def render(self) -> LayoutUpdateMessage: method _serial_render (line 168) | async def _serial_render(self) -> LayoutUpdateMessage: # nocov method _parallel_render (line 182) | async def _parallel_render(self) -> LayoutUpdateMessage: method _create_layout_update (line 204) | async def _create_layout_update( method _render_component (line 249) | async def _render_component( method _render_model (line 325) | async def _render_model( method _render_model_attributes (line 359) | def _render_model_attributes( method _render_model_event_handlers_without_old_state (line 406) | def _render_model_event_handlers_without_old_state( method _render_model_children (line 431) | async def _render_model_children( method _unmount_model_states (line 487) | async def _unmount_model_states(self, old_states: list[_ModelState]) -... method _schedule_render_task (line 502) | def _schedule_render_task(self, lcs_id: _LifeCycleStateId) -> None: method __repr__ (line 519) | def __repr__(self) -> str: function _new_root_model_state (line 523) | def _new_root_model_state( function _make_component_model_state (line 539) | def _make_component_model_state( function _copy_component_model_state (line 559) | def _copy_component_model_state(old_model_state: _ModelState) -> _ModelS... function _update_component_model_state (line 579) | def _update_component_model_state( function _make_element_model_state (line 603) | def _make_element_model_state( function _update_element_model_state (line 620) | def _update_element_model_state( class _ModelState (line 637) | class _ModelState: method __init__ (line 654) | def __init__( method is_component_state (line 699) | def is_component_state(self) -> bool: method parent (line 703) | def parent(self) -> _ModelState: method append_child (line 709) | def append_child(self, child: Any) -> None: method __repr__ (line 712) | def __repr__(self) -> str: # nocov function _make_life_cycle_state (line 716) | def _make_life_cycle_state( function _update_life_cycle_state (line 728) | def _update_life_cycle_state( class _LifeCycleState (line 743) | class _LifeCycleState(NamedTuple): class _ThreadSafeQueue (line 759) | class _ThreadSafeQueue(Generic[_Type]): method __init__ (line 760) | def __init__(self) -> None: method put (line 765) | def put(self, value: _Type) -> None: method get (line 770) | async def get(self) -> _Type: function _get_children_info (line 776) | def _get_children_info( FILE: src/reactpy/core/serve.py function serve_layout (line 26) | async def serve_layout( function _single_outgoing_loop (line 40) | async def _single_outgoing_loop( function _single_incoming_loop (line 61) | async def _single_incoming_loop( FILE: src/reactpy/core/vdom.py function validate_vdom_json (line 112) | def validate_vdom_json(value: Any) -> VdomJson: function is_vdom (line 118) | def is_vdom(value: Any) -> bool: class Vdom (line 123) | class Vdom: method __init__ (line 128) | def __init__( method __getattr__ (line 148) | def __getattr__(self, attr: str) -> Vdom: method __call__ (line 160) | def __call__( method __call__ (line 165) | def __call__(self, *children: VdomChildren) -> VdomDict: ... method __call__ (line 167) | def __call__( function separate_attributes_and_children (line 207) | def separate_attributes_and_children( function separate_attributes_handlers_and_inline_javascript (line 226) | def separate_attributes_handlers_and_inline_javascript( function _flatten_children (line 248) | def _flatten_children(children: Sequence[Any]) -> list[Any]: function _is_single_child (line 258) | def _is_single_child(value: Any) -> bool: function _validate_child_key_integrity (line 266) | def _validate_child_key_integrity(value: Any) -> None: FILE: src/reactpy/executors/asgi/middleware.py class ReactPyMiddleware (line 44) | class ReactPyMiddleware: method __init__ (line 49) | def __init__( method __call__ (line 106) | async def __call__( method match_dispatch_path (line 131) | def match_dispatch_path(self, scope: AsgiWebsocketScope) -> bool: method match_static_path (line 134) | def match_static_path(self, scope: AsgiHttpScope) -> bool: method match_web_modules_path (line 137) | def match_web_modules_path(self, scope: AsgiHttpScope) -> bool: method match_extra_paths (line 140) | def match_extra_paths(self, scope: AsgiScope) -> AsgiApp | None: class ComponentDispatchApp (line 147) | class ComponentDispatchApp: method __call__ (line 150) | async def __call__( class ReactPyWebsocket (line 178) | class ReactPyWebsocket(ResponseWebSocket): method __init__ (line 179) | def __init__( method __aenter__ (line 192) | async def __aenter__(self) -> ReactPyWebsocket: method __aexit__ (line 196) | async def __aexit__(self, *_: Any) -> None: method run_dispatcher (line 201) | async def run_dispatcher(self) -> None: method send_json (line 244) | async def send_json(self, data: Any) -> None: class StaticFileApp (line 251) | class StaticFileApp: method __call__ (line 255) | async def __call__( class WebModuleApp (line 270) | class WebModuleApp: method __call__ (line 274) | async def __call__( class Error404App (line 289) | class Error404App: method __call__ (line 290) | async def __call__( FILE: src/reactpy/executors/asgi/pyscript.py class ReactPyCsr (line 24) | class ReactPyCsr(ReactPy): method __init__ (line 25) | def __init__( method match_dispatch_path (line 83) | def match_dispatch_path(self, scope: AsgiWebsocketScope) -> bool: # n... class ReactPyPyscriptApp (line 89) | class ReactPyPyscriptApp(ReactPyApp): method render_index_html (line 97) | def render_index_html(self) -> None: FILE: src/reactpy/executors/asgi/standalone.py class ReactPy (line 39) | class ReactPy(ReactPyMiddleware): method __init__ (line 42) | def __init__( method match_dispatch_path (line 83) | def match_dispatch_path(self, scope: AsgiWebsocketScope) -> bool: method match_extra_paths (line 87) | def match_extra_paths(self, scope: AsgiScope) -> AsgiApp | None: method route (line 109) | def route( method route (line 116) | def route( method route (line 122) | def route( method lifespan (line 157) | def lifespan(self, app: AsgiV3LifespanApp | str) -> None: class ReactPyApp (line 173) | class ReactPyApp: method __call__ (line 182) | async def __call__( method render_index_html (line 230) | def render_index_html(self) -> None: FILE: src/reactpy/executors/asgi/types.py class AsgiV2Protocol (line 98) | class AsgiV2Protocol(Protocol): method __init__ (line 102) | def __init__(self, scope: Any) -> None: ... method __call__ (line 104) | async def __call__(self, receive: Any, send: Any) -> None: ... FILE: src/reactpy/executors/pyscript/component_template.py function user_workspace_UUID (line 9) | def user_workspace_UUID(): FILE: src/reactpy/executors/pyscript/components.py function _pyscript_component (line 16) | def _pyscript_component( function pyscript_component (line 40) | def pyscript_component( FILE: src/reactpy/executors/pyscript/layout_handler.py class ReactPyLayoutHandler (line 13) | class ReactPyLayoutHandler: method __init__ (line 21) | def __init__(self, uuid): method update_model (line 26) | def update_model(update, root_model): method render_html (line 33) | def render_html(self, layout, model): method build_element_tree (line 46) | def build_element_tree(self, layout, parent, model): method create_event_handler (line 96) | def create_event_handler(self, layout, element, event_name, event_hand... method delete_old_workspaces (line 118) | def delete_old_workspaces(): method run (line 150) | async def run(self, workspace_function): FILE: src/reactpy/executors/pyscript/utils.py function minify_python (line 28) | def minify_python(source: str) -> str: function pyscript_executor_html (line 50) | def pyscript_executor_html(file_paths: Sequence[str], uuid: str, root: s... function pyscript_component_html (line 75) | def pyscript_component_html( function pyscript_setup_html (line 91) | def pyscript_setup_html( function extend_pyscript_config (line 109) | def extend_pyscript_config( function reactpy_version_string (line 143) | def reactpy_version_string() -> str: # nocov function get_reactpy_versions (line 215) | def get_reactpy_versions() -> dict[Any, Any]: function cached_file_read (line 234) | def cached_file_read(file_path: str, minifiy: bool = True) -> str: FILE: src/reactpy/executors/utils.py function import_components (line 21) | def import_components(dotted_paths: Iterable[str]) -> dict[str, Any]: function check_path (line 28) | def check_path(url_path: str) -> str: # nocov function vdom_head_to_html (line 42) | def vdom_head_to_html(head: VdomDict) -> str: function process_settings (line 49) | def process_settings(settings: ReactPyConfig) -> None: function server_side_component_html (line 62) | def server_side_component_html( function default_import_map (line 95) | def default_import_map() -> str: FILE: src/reactpy/logging.py function _set_debug_level (line 31) | def _set_debug_level(debug: bool) -> None: FILE: src/reactpy/reactjs/__init__.py function component_from_url (line 36) | def component_from_url( function component_from_url (line 48) | def component_from_url( function component_from_url (line 59) | def component_from_url( function component_from_npm (line 107) | def component_from_npm( function component_from_npm (line 121) | def component_from_npm( function component_from_npm (line 134) | def component_from_npm( function component_from_file (line 193) | def component_from_file( function component_from_file (line 207) | def component_from_file( function component_from_file (line 220) | def component_from_file( function component_from_string (line 277) | def component_from_string( function component_from_string (line 290) | def component_from_string( function component_from_string (line 302) | def component_from_string( FILE: src/reactpy/reactjs/module.py function url_to_module (line 22) | def url_to_module( function file_to_module (line 43) | def file_to_module( function string_to_module (line 85) | def string_to_module( function module_to_vdom (line 121) | def module_to_vdom( function make_module (line 163) | def make_module( function import_reactjs (line 181) | def import_reactjs( function module_name_suffix (line 256) | def module_name_suffix(name: str) -> str: function get_module_path (line 264) | def get_module_path(name: str) -> Path: FILE: src/reactpy/reactjs/utils.py function resolve_names_from_file (line 16) | def resolve_names_from_file( function resolve_names_from_url (line 46) | def resolve_names_from_url( function resolve_names_from_source (line 71) | def resolve_names_from_source( function normalize_url_path (line 132) | def normalize_url_path(base_url: str, rel_url: str) -> str: function are_files_identical (line 152) | def are_files_identical(f1: Path, f2: Path) -> bool: function copy_file (line 160) | def copy_file(target: Path, source: Path, symlink: bool) -> None: function file_lock (line 197) | def file_lock(lock_file: Path, timeout: float = 10.0): FILE: src/reactpy/templatetags/jinja.py class ReactPyJinja (line 13) | class ReactPyJinja(StandaloneTag): # type: ignore method render (line 17) | def render(self, *args: str, **kwargs: str) -> str: function component (line 31) | def component(dotted_path: str, **kwargs: str) -> str: function pyscript_component (line 40) | def pyscript_component(*file_paths: str, initial: str = "", root: str = ... function pyscript_setup (line 44) | def pyscript_setup(*extra_py: str, extra_js: str = "", config: str = "")... FILE: src/reactpy/testing/backend.py class BackendFixture (line 28) | class BackendFixture: method __init__ (line 44) | def __init__( method url (line 73) | def url(self, path: str = "", query: Any | None = None) -> str: method list_logged_exceptions (line 91) | def list_logged_exceptions( method __aenter__ (line 113) | async def __aenter__(self) -> BackendFixture: method __aexit__ (line 141) | async def __aexit__( method restart (line 157) | async def restart(self) -> None: function _hotswap (line 166) | def _hotswap(update_on_change: bool = False) -> tuple[_MountFunc, Compon... FILE: src/reactpy/testing/common.py class poll (line 26) | class poll(Generic[_R]): # noqa: N801 method __init__ (line 29) | def __init__( method until (line 48) | async def until( method until_is (line 66) | async def until_is( method until_equals (line 80) | async def until_equals( class HookCatcher (line 95) | class HookCatcher: method __init__ (line 121) | def __init__(self, index_by_kwarg: str | None = None): method capture (line 125) | def capture(self, render_function: Callable[..., Any]) -> Callable[...... class StaticEventHandler (line 149) | class StaticEventHandler: method __init__ (line 191) | def __init__(self) -> None: method use (line 194) | def use( FILE: src/reactpy/testing/display.py class DisplayFixture (line 21) | class DisplayFixture: method __init__ (line 28) | def __init__( method show (line 46) | async def show( method goto (line 53) | async def goto(self, path: str, query: Any | None = None) -> None: method __aenter__ (line 57) | async def __aenter__(self) -> DisplayFixture: method configure_page (line 75) | async def configure_page(self) -> None: method __aexit__ (line 95) | async def __aexit__( function _playwright_visible (line 105) | def _playwright_visible(pytestconfig: pytest.Config | None = None) -> bool: FILE: src/reactpy/testing/logs.py class LogAssertionError (line 13) | class LogAssertionError(AssertionError): function assert_reactpy_did_log (line 18) | def assert_reactpy_did_log( function assert_reactpy_did_not_log (line 74) | def assert_reactpy_did_not_log( function list_logged_exceptions (line 94) | def list_logged_exceptions( function capture_reactpy_logs (line 125) | def capture_reactpy_logs() -> Iterator[list[logging.LogRecord]]: class _LogRecordCaptor (line 152) | class _LogRecordCaptor(logging.NullHandler): method __init__ (line 153) | def __init__(self) -> None: method handle (line 157) | def handle(self, record: logging.LogRecord) -> bool: function _raise_log_message_error (line 165) | def _raise_log_message_error( FILE: src/reactpy/transforms.py function attributes_to_reactjs (line 9) | def attributes_to_reactjs(attributes: VdomAttributes): class RequiredTransforms (line 19) | class RequiredTransforms: method __init__ (line 24) | def __init__(self, vdom: VdomDict, intercept_links: bool = True) -> None: method normalize_style_attributes (line 33) | def normalize_style_attributes(self, vdom: dict[str, Any]) -> None: method textarea_children_to_prop (line 50) | def textarea_children_to_prop(vdom: VdomDict) -> None: method select_element_to_reactjs (line 63) | def select_element_to_reactjs(self, vdom: VdomDict) -> None: method input_element_value_prop_to_defaultValue (line 84) | def input_element_value_prop_to_defaultValue(vdom: VdomDict) -> None: method infer_key_from_attributes (line 99) | def infer_key_from_attributes(vdom: VdomDict) -> None: method intercept_link_clicks (line 119) | def intercept_link_clicks(self, vdom: VdomDict) -> None: method _parse_options (line 132) | def _parse_options(self, vdom_or_any: Any) -> list[str]: method _kebab_to_camel_case (line 156) | def _kebab_to_camel_case(kebab_case: str) -> str: FILE: src/reactpy/types.py class State (line 27) | class State(NamedTuple, Generic[_Type]): class Component (line 42) | class Component: method __init__ (line 47) | def __init__( method render (line 61) | def render(self) -> Component | VdomDict | str | None: method __repr__ (line 64) | def __repr__(self) -> str: class BaseLayout (line 81) | class BaseLayout(Protocol[_Render_co, _Event_contra]): method render (line 95) | async def render( method deliver (line 101) | async def deliver(self, event: _Event_contra) -> None: method __aenter__ (line 105) | async def __aenter__( method __aexit__ (line 111) | async def __aexit__( class CssStyleTypeDict (line 121) | class CssStyleTypeDict(TypedDict, total=False): class DangerouslySetInnerHTML (line 543) | class DangerouslySetInnerHTML(TypedDict): class VdomTypeDict (line 817) | class VdomTypeDict(TypedDict): class VdomDict (line 828) | class VdomDict(dict): method __init__ (line 831) | def __init__(self, **kwargs: Unpack[VdomTypeDict]) -> None: method __getitem__ (line 843) | def __getitem__(self, key: Literal["tagName"]) -> str: ... method __getitem__ (line 845) | def __getitem__( method __getitem__ (line 849) | def __getitem__(self, key: Literal["attributes"]) -> VdomAttributes: ... method __getitem__ (line 851) | def __getitem__(self, key: Literal["eventHandlers"]) -> EventHandlerDi... method __getitem__ (line 853) | def __getitem__(self, key: Literal["inlineJavaScript"]) -> InlineJavaS... method __getitem__ (line 855) | def __getitem__(self, key: Literal["importSource"]) -> ImportSourceDic... method __getitem__ (line 856) | def __getitem__(self, key: VdomDictKeys) -> Any: method __setitem__ (line 860) | def __setitem__(self, key: Literal["tagName"], value: str) -> None: ... method __setitem__ (line 862) | def __setitem__( method __setitem__ (line 866) | def __setitem__( method __setitem__ (line 870) | def __setitem__( method __setitem__ (line 874) | def __setitem__( method __setitem__ (line 878) | def __setitem__( method __setitem__ (line 881) | def __setitem__(self, key: VdomDictKeys, value: Any) -> None: class ImportSourceDict (line 894) | class ImportSourceDict(TypedDict): class VdomJson (line 901) | class VdomJson(TypedDict): class JsonEventTarget (line 914) | class JsonEventTarget(TypedDict): class JsonImportSource (line 920) | class JsonImportSource(TypedDict): class InlineJavaScript (line 925) | class InlineJavaScript(str): class EventHandlerFunc (line 931) | class EventHandlerFunc(Protocol): method __call__ (line 934) | async def __call__(self, data: Sequence[Any]) -> None: ... class BaseEventHandler (line 937) | class BaseEventHandler: class VdomConstructor (line 982) | class VdomConstructor(Protocol): method __call__ (line 986) | def __call__( method __call__ (line 991) | def __call__(self, *children: VdomChildren) -> VdomDict: ... method __call__ (line 993) | def __call__( class LayoutUpdateMessage (line 998) | class LayoutUpdateMessage(TypedDict): class LayoutEventMessage (line 1009) | class LayoutEventMessage(TypedDict): class Context (line 1020) | class Context(Protocol[_Type]): method __call__ (line 1023) | def __call__( class ContextProvider (line 1031) | class ContextProvider(Component, Generic[_Type]): method __init__ (line 1032) | def __init__( method render (line 1044) | def render(self) -> VdomDict: method __repr__ (line 1050) | def __repr__(self) -> str: class Connection (line 1055) | class Connection(Generic[CarrierType]): class Location (line 1072) | class Location: class ReactPyConfig (line 1090) | class ReactPyConfig(TypedDict, total=False): class PyScriptOptions (line 1102) | class PyScriptOptions(TypedDict, total=False): class CustomVdomConstructor (line 1108) | class CustomVdomConstructor(Protocol): method __call__ (line 1109) | def __call__( class EllipsisRepr (line 1117) | class EllipsisRepr: method __repr__ (line 1118) | def __repr__(self) -> str: class Event (line 1122) | class Event(dict): method __getattr__ (line 1127) | def __getattr__(self, name: str) -> Any: method preventDefault (line 1131) | def preventDefault(self) -> None: method stopPropagation (line 1134) | def stopPropagation(self) -> None: class JavaScriptModule (line 1142) | class JavaScriptModule: FILE: src/reactpy/utils.py class Ref (line 21) | class Ref(Generic[_RefValue]): method __init__ (line 34) | def __init__(self, initial_value: _RefValue = _UNDEFINED) -> None: method set_current (line 39) | def set_current(self, new: _RefValue) -> _RefValue: method __eq__ (line 50) | def __eq__(self, other: object) -> bool: method __repr__ (line 57) | def __repr__(self) -> str: function reactpy_to_string (line 66) | def reactpy_to_string(root: VdomDict | Component) -> str: function string_to_reactpy (line 84) | def string_to_reactpy( class HTMLParseError (line 141) | class HTMLParseError(etree.LxmlSyntaxError): # type: ignore[misc] function _etree_to_vdom (line 145) | def _etree_to_vdom( function _add_vdom_to_etree (line 174) | def _add_vdom_to_etree(parent: etree._Element, vdom: VdomDict | dict[str... function _generate_vdom_children (line 218) | def _generate_vdom_children( function component_to_vdom (line 240) | def component_to_vdom(component: Component) -> VdomDict: function _react_attribute_to_html (line 253) | def _react_attribute_to_html(key: str, value: Any) -> tuple[str, str]: function import_dotted_path (line 284) | def import_dotted_path(dotted_path: str) -> Any: class Singleton (line 304) | class Singleton: method __new__ (line 307) | def __new__(cls, *args, **kw): function str_to_bool (line 314) | def str_to_bool(s: str) -> bool: FILE: src/reactpy/web/module.py function module_from_url (line 28) | def module_from_url( function module_from_file (line 50) | def module_from_file( function module_from_string (line 76) | def module_from_string( function export (line 101) | def export( function export (line 110) | def export( function export (line 118) | def export( FILE: src/reactpy/widgets.py function image (line 12) | def image( function use_linked_inputs (line 34) | def use_linked_inputs( class _CastFunc (line 79) | class _CastFunc(Protocol[_CastTo_co]): method __call__ (line 80) | def __call__(self, value: str) -> _CastTo_co: ... FILE: tests/conftest.py function pytest_addoption (line 22) | def pytest_addoption(parser: Parser) -> None: function display (line 32) | async def display(server, browser): function server (line 38) | async def server(): function browser (line 44) | async def browser(pytestconfig: pytest.Config): function assert_no_logged_exceptions (line 56) | def assert_no_logged_exceptions(): FILE: tests/sample.py function SampleApp (line 8) | def SampleApp(): FILE: tests/test_asgi/pyscript_components/load_first.py function root (line 10) | def root(): FILE: tests/test_asgi/pyscript_components/load_second.py function child (line 5) | def child(): FILE: tests/test_asgi/pyscript_components/root.py function root (line 5) | def root(): FILE: tests/test_asgi/test_init.py function test_asgi_import_error (line 7) | def test_asgi_import_error(): FILE: tests/test_asgi/test_middleware.py function display (line 20) | async def display(browser): function test_invalid_path_prefix (line 39) | def test_invalid_path_prefix(): function test_invalid_web_modules_dir (line 48) | def test_invalid_web_modules_dir(): function test_unregistered_root_component (line 59) | async def test_unregistered_root_component(browser): function test_display_simple_hello_world (line 95) | async def test_display_simple_hello_world(display: DisplayFixture): function test_static_file_not_found (line 110) | async def test_static_file_not_found(): function test_templatetag_bad_kwargs (line 123) | async def test_templatetag_bad_kwargs(browser): FILE: tests/test_asgi/test_pyscript.py function display (line 17) | async def display(browser): function multi_file_display (line 32) | async def multi_file_display(browser): function jinja_display (line 46) | async def jinja_display(browser): function test_root_component (line 65) | async def test_root_component(display: DisplayFixture): function test_multi_file_components (line 81) | async def test_multi_file_components(multi_file_display: DisplayFixture): function test_bad_file_path (line 96) | def test_bad_file_path(): function test_jinja_template_tag (line 101) | async def test_jinja_template_tag(jinja_display: DisplayFixture): FILE: tests/test_asgi/test_standalone.py function test_display_simple_hello_world (line 17) | async def test_display_simple_hello_world(display: DisplayFixture): function test_display_simple_click_counter (line 32) | async def test_display_simple_click_counter(display: DisplayFixture): function test_use_connection (line 53) | async def test_use_connection(display: DisplayFixture): function test_use_scope (line 67) | async def test_use_scope(display: DisplayFixture): function test_use_location (line 81) | async def test_use_location(display: DisplayFixture): function test_carrier (line 110) | async def test_carrier(display: DisplayFixture): function test_customized_head (line 126) | async def test_customized_head(browser): function test_head_request (line 141) | async def test_head_request(): function test_custom_http_app (line 160) | async def test_custom_http_app(): function test_custom_websocket_app (line 197) | async def test_custom_websocket_app(): function test_custom_lifespan_app (line 233) | async def test_custom_lifespan_app(): FILE: tests/test_asgi/test_utils.py function test_invalid_vdom_head (line 7) | def test_invalid_vdom_head(): function test_process_settings (line 12) | def test_process_settings(): function test_invalid_setting (line 19) | def test_invalid_setting(): FILE: tests/test_client.py function test_automatic_reconnect (line 12) | async def test_automatic_reconnect(display: DisplayFixture, server: Back... function test_style_can_be_changed (line 57) | async def test_style_can_be_changed(display: DisplayFixture): function _get_style (line 94) | async def _get_style(element): function test_slow_server_response_on_input_change (line 100) | async def test_slow_server_response_on_input_change(display: DisplayFixt... FILE: tests/test_config.py function reset_options (line 8) | def reset_options(): function test_reactpy_debug_toggle (line 26) | def test_reactpy_debug_toggle(): function test_boolean (line 32) | def test_boolean(): FILE: tests/test_console/test_rewrite_keys.py function test_rewrite_key_declarations (line 10) | def test_rewrite_key_declarations(tmp_path): function test_rewrite_key_declarations_no_files (line 25) | def test_rewrite_key_declarations_no_files(): function test_generate_rewrite (line 216) | def test_generate_rewrite(source, expected): FILE: tests/test_console/test_rewrite_props.py function test_rewrite_camel_case_props_declarations (line 13) | def test_rewrite_camel_case_props_declarations(tmp_path): function test_rewrite_camel_case_props_declarations_no_files (line 28) | def test_rewrite_camel_case_props_declarations_no_files(): function test_generate_rewrite (line 109) | def test_generate_rewrite(source, expected): FILE: tests/test_core/test_component.py function test_component_repr (line 5) | def test_component_repr(): function test_simple_component (line 19) | async def test_simple_component(): function test_simple_parameterized_component (line 27) | async def test_simple_parameterized_component(): function test_component_with_var_args (line 35) | async def test_component_with_var_args(): function test_display_simple_hello_world (line 47) | async def test_display_simple_hello_world(display: DisplayFixture): function test_pre_tags_are_rendered_correctly (line 57) | async def test_pre_tags_are_rendered_correctly(display: DisplayFixture): FILE: tests/test_core/test_events.py function test_event_handler_repr (line 20) | def test_event_handler_repr(): function test_event_handler_props (line 28) | def test_event_handler_props(): function test_event_handler_equivalence (line 50) | def test_event_handler_equivalence(): function test_to_event_handler_function (line 69) | async def test_to_event_handler_function(): function test_merge_event_handler_empty_list (line 91) | async def test_merge_event_handler_empty_list(): function test_merge_event_handlers_raises_on_mismatch (line 104) | async def test_merge_event_handlers_raises_on_mismatch(kwargs_1, kwargs_2): function test_merge_event_handlers (line 117) | async def test_merge_event_handlers(): function test_merge_event_handler_funcs_empty_list (line 132) | def test_merge_event_handler_funcs_empty_list(): function test_merge_event_handler_funcs (line 137) | async def test_merge_event_handler_funcs(): function test_can_prevent_event_default_operation (line 153) | async def test_can_prevent_event_default_operation(display: DisplayFixtu... function test_simple_click_event (line 170) | async def test_simple_click_event(display: DisplayFixture): function test_can_stop_event_propagation (line 192) | async def test_can_stop_event_propagation(display: DisplayFixture): function test_javascript_event_as_arrow_function (line 232) | async def test_javascript_event_as_arrow_function(display: DisplayFixture): function test_javascript_event_as_this_statement (line 256) | async def test_javascript_event_as_this_statement(display: DisplayFixture): function test_javascript_event_after_state_update (line 280) | async def test_javascript_event_after_state_update(display: DisplayFixtu... function test_detect_prevent_default (line 326) | def test_detect_prevent_default(): function test_detect_stop_propagation (line 334) | def test_detect_stop_propagation(): function test_detect_both (line 342) | def test_detect_both(): function test_detect_both_when_handler_is_partial (line 352) | def test_detect_both_when_handler_is_partial(): function test_no_detect (line 362) | def test_no_detect(): function test_event_wrapper (line 371) | def test_event_wrapper(): function test_vdom_has_prevent_default (line 380) | async def test_vdom_has_prevent_default(): function test_event_export (line 396) | def test_event_export(): function test_detect_false_positive (line 402) | def test_detect_false_positive(): function test_detect_renamed_argument (line 414) | def test_detect_renamed_argument(): function test_event_queue_sequential_processing (line 424) | async def test_event_queue_sequential_processing(display: DisplayFixture): function test_event_targeting_with_shifting_elements (line 460) | async def test_event_targeting_with_shifting_elements(display: DisplayFi... function test_event_targeting_with_index_shifting (line 525) | async def test_event_targeting_with_index_shifting(display: DisplayFixtu... FILE: tests/test_core/test_hooks.py function test_must_be_rendering_in_layout_to_use_hooks (line 17) | async def test_must_be_rendering_in_layout_to_use_hooks(): function test_simple_stateful_component (line 30) | async def test_simple_stateful_component(): function test_set_state_callback_identity_is_preserved (line 75) | async def test_set_state_callback_identity_is_preserved(): function test_use_state_with_constructor (line 98) | async def test_use_state_with_constructor(): function test_set_state_with_reducer_instead_of_value (line 141) | async def test_set_state_with_reducer_instead_of_value(): function test_set_state_checks_equality_not_identity (line 162) | async def test_set_state_checks_equality_not_identity(display: DisplayFi... function test_simple_input_with_use_state (line 230) | async def test_simple_input_with_use_state(display: DisplayFixture): function test_double_set_state (line 256) | async def test_double_set_state(display: DisplayFixture): function test_use_effect_callback_occurs_after_full_render_is_complete (line 298) | async def test_use_effect_callback_occurs_after_full_render_is_complete(): function test_use_effect_cleanup_occurs_before_next_effect (line 330) | async def test_use_effect_cleanup_occurs_before_next_effect(): function test_use_effect_cleanup_occurs_on_will_unmount (line 362) | async def test_use_effect_cleanup_occurs_on_will_unmount(): function test_memoized_effect_on_recreated_if_dependencies_change (line 401) | async def test_memoized_effect_on_recreated_if_dependencies_change(): function test_memoized_effect_cleanup_only_triggered_before_new_effect (line 441) | async def test_memoized_effect_cleanup_only_triggered_before_new_effect(): function test_memoized_async_effect_cleanup_only_triggered_before_new_effect (line 479) | async def test_memoized_async_effect_cleanup_only_triggered_before_new_e... function test_use_async_effect (line 522) | async def test_use_async_effect(): function test_use_async_effect_cleanup (line 538) | async def test_use_async_effect_cleanup(): function test_use_async_effect_cancel (line 564) | async def test_use_async_effect_cancel(): function test_async_effect_sleep_is_cancelled_on_re_render (line 603) | async def test_async_effect_sleep_is_cancelled_on_re_render(): function test_error_in_effect_is_gracefully_handled (line 638) | async def test_error_in_effect_is_gracefully_handled(): function test_error_in_effect_pre_unmount_cleanup_is_gracefully_handled (line 653) | async def test_error_in_effect_pre_unmount_cleanup_is_gracefully_handled(): function test_use_reducer (line 683) | async def test_use_reducer(): function test_use_reducer_dispatch_callback_identity_is_preserved (line 719) | async def test_use_reducer_dispatch_callback_identity_is_preserved(): function test_use_callback_identity (line 744) | async def test_use_callback_identity(): function test_use_callback_memoization (line 763) | async def test_use_callback_memoization(): function test_use_memo (line 794) | async def test_use_memo(): function test_use_memo_always_runs_if_dependencies_are_none (line 824) | async def test_use_memo_always_runs_if_dependencies_are_none(): function test_use_memo_with_stored_deps_is_empty_tuple_after_deps_are_none (line 847) | async def test_use_memo_with_stored_deps_is_empty_tuple_after_deps_are_n... function test_use_memo_never_runs_if_deps_is_empty_list (line 876) | async def test_use_memo_never_runs_if_deps_is_empty_list(): function test_use_ref (line 899) | async def test_use_ref(): function test_bad_schedule_render_callback (line 918) | def test_bad_schedule_render_callback(): function test_use_effect_automatically_infers_closure_values (line 929) | async def test_use_effect_automatically_infers_closure_values(): function test_use_memo_automatically_infers_closure_values (line 957) | async def test_use_memo_automatically_infers_closure_values(): function test_use_context_default_value (line 985) | async def test_use_context_default_value(): function test_context_repr (line 1012) | def test_context_repr(): function test_use_context_updates_components_even_if_memoized (line 1017) | async def test_use_context_updates_components_even_if_memoized(): function test_context_values_are_scoped (line 1057) | async def test_context_values_are_scoped(): function test_error_in_layout_effect_cleanup_is_gracefully_handled (line 1079) | async def test_error_in_layout_effect_cleanup_is_gracefully_handled(): function test_set_state_during_render (line 1103) | async def test_set_state_during_render(): function test_use_debug_mode (line 1128) | async def test_use_debug_mode(): function test_use_debug_mode_with_factory (line 1155) | async def test_use_debug_mode_with_factory(): function test_use_debug_mode_does_not_log_if_not_in_debug_mode (line 1182) | async def test_use_debug_mode_does_not_log_if_not_in_debug_mode(): function test_conditionally_rendered_components_can_use_context (line 1201) | async def test_conditionally_rendered_components_can_use_context(): function test_strictly_equal (line 1249) | def test_strictly_equal(x, y, result): function test_strictly_equal_named_closures (line 1253) | def test_strictly_equal_named_closures(): function test_use_state_compares_with_strict_equality (line 1287) | async def test_use_state_compares_with_strict_equality(get_value): function test_use_effect_compares_with_strict_equality (line 1305) | async def test_use_effect_compares_with_strict_equality(get_value): function test_use_state_named_tuple (line 1327) | async def test_use_state_named_tuple(): function test_error_in_component_effect_cleanup_is_gracefully_handled (line 1342) | async def test_error_in_component_effect_cleanup_is_gracefully_handled(): function test_use_effect_exception_on_async_function (line 1368) | def test_use_effect_exception_on_async_function(): function test_async_effect_cancelled_on_dependency_change (line 1389) | async def test_async_effect_cancelled_on_dependency_change(): FILE: tests/test_core/test_layout.py function async_rendering (line 37) | def async_rendering(request): function no_logged_errors (line 43) | def no_logged_errors(): function test_layout_repr (line 51) | def test_layout_repr(): function test_layout_expects_abstract_component (line 60) | def test_layout_expects_abstract_component(): function test_layout_cannot_be_used_outside_context_manager (line 67) | async def test_layout_cannot_be_used_outside_context_manager(): function test_simple_layout (line 81) | async def test_simple_layout(): function test_nested_component_layout (line 105) | async def test_nested_component_layout(): function test_layout_render_error_has_partial_update_with_error_message (line 164) | async def test_layout_render_error_has_partial_update_with_error_message(): function test_layout_render_error_has_partial_update_without_error_message (line 215) | async def test_layout_render_error_has_partial_update_without_error_mess... function test_render_raw_vdom_dict_with_single_component_object_as_children (line 259) | async def test_render_raw_vdom_dict_with_single_component_object_as_chil... function test_components_are_garbage_collected (line 293) | async def test_components_are_garbage_collected(): function test_root_component_life_cycle_hook_is_garbage_collected (line 342) | async def test_root_component_life_cycle_hook_is_garbage_collected(): function test_life_cycle_hooks_are_garbage_collected (line 373) | async def test_life_cycle_hooks_are_garbage_collected(): function test_double_updated_component_is_not_double_rendered (line 429) | async def test_double_updated_component_is_not_double_rendered(): function test_update_path_to_component_that_is_not_direct_child_is_correct (line 457) | async def test_update_path_to_component_that_is_not_direct_child_is_corr... function test_log_on_dispatch_to_missing_event_handler (line 478) | async def test_log_on_dispatch_to_missing_event_handler(caplog): function test_model_key_preserves_callback_identity_for_common_elements (line 494) | async def test_model_key_preserves_callback_identity_for_common_elements... function test_model_key_preserves_callback_identity_for_components (line 542) | async def test_model_key_preserves_callback_identity_for_components(): function test_component_can_return_another_component_directly (line 592) | async def test_component_can_return_another_component_directly(): function test_hooks_for_keyed_components_get_garbage_collected (line 616) | async def test_hooks_for_keyed_components_get_garbage_collected(): function test_event_handler_at_component_root_is_garbage_collected (line 651) | async def test_event_handler_at_component_root_is_garbage_collected(): function test_event_handler_deep_in_component_layout_is_garbage_collected (line 673) | async def test_event_handler_deep_in_component_layout_is_garbage_collect... function test_duplicate_sibling_keys_causes_error (line 695) | async def test_duplicate_sibling_keys_causes_error(): function test_keyed_components_preserve_hook_on_parent_update (line 731) | async def test_keyed_components_preserve_hook_on_parent_update(): function test_log_error_on_bad_event_handler (line 754) | async def test_log_error_on_bad_event_handler(): function test_schedule_render_from_unmounted_hook (line 773) | async def test_schedule_render_from_unmounted_hook(): function test_elements_and_components_with_the_same_key_can_be_interchanged (line 810) | async def test_elements_and_components_with_the_same_key_can_be_intercha... function test_layout_does_not_copy_element_children_by_key (line 849) | async def test_layout_does_not_copy_element_children_by_key(): function test_changing_key_of_parent_element_unmounts_children (line 884) | async def test_changing_key_of_parent_element_unmounts_children(): function test_switching_node_type_with_event_handlers (line 910) | async def test_switching_node_type_with_event_handlers(): function test_switching_component_definition (line 948) | async def test_switching_component_definition(): function test_element_keys_inside_components_do_not_reset_state_of_component (line 994) | async def test_element_keys_inside_components_do_not_reset_state_of_comp... function test_changing_key_of_component_resets_state (line 1044) | async def test_changing_key_of_component_resets_state(): function test_changing_event_handlers_in_the_next_render (line 1072) | async def test_changing_event_handlers_in_the_next_render(): function test_change_element_to_string_causes_unmount (line 1097) | async def test_change_element_to_string_causes_unmount(): function test_does_render_children_after_component (line 1123) | async def test_does_render_children_after_component(): function test_render_removed_context_consumer (line 1162) | async def test_render_removed_context_consumer(): function test_ensure_model_path_udpates (line 1201) | async def test_ensure_model_path_udpates(): function test_async_renders (line 1257) | async def test_async_renders(async_rendering): function test_none_does_not_render (line 1306) | async def test_none_does_not_render(): function test_conditionally_render_none_does_not_trigger_state_change_in_siblings (line 1325) | async def test_conditionally_render_none_does_not_trigger_state_change_i... function test_deduplicate_async_renders (line 1348) | async def test_deduplicate_async_renders(): function test_deduplicate_async_renders_nested (line 1400) | async def test_deduplicate_async_renders_nested(): function test_deduplicate_async_renders_rapid (line 1495) | async def test_deduplicate_async_renders_rapid(): function test_event_handler_retry_logic (line 1523) | async def test_event_handler_retry_logic(): FILE: tests/test_core/test_serve.py function make_send_recv_callbacks (line 22) | def make_send_recv_callbacks(events_to_inject): function make_events_and_expected_model (line 49) | def make_events_and_expected_model(): function assert_changes_produce_expected_model (line 70) | def assert_changes_produce_expected_model( function Counter (line 86) | def Counter(): function test_dispatch (line 96) | async def test_dispatch(): function test_dispatcher_handles_more_than_one_event_at_a_time (line 104) | async def test_dispatcher_handles_more_than_one_event_at_a_time(): FILE: tests/test_core/test_vdom.py function test_is_vdom (line 27) | def test_is_vdom(result, value): function test_simple_node_construction (line 87) | def test_simple_node_construction(actual, expected): function test_callable_attributes_are_cast_to_event_handlers (line 91) | async def test_callable_attributes_are_cast_to_event_handlers(): function test_make_vdom_constructor (line 109) | def test_make_vdom_constructor(): function test_nested_html_access_raises_error (line 126) | def test_nested_html_access_raises_error(): function test_valid_vdom (line 196) | def test_valid_vdom(value): function test_invalid_vdom (line 297) | def test_invalid_vdom(value, error_message_pattern): function test_warn_cannot_verify_keypath_for_genereators (line 303) | def test_warn_cannot_verify_keypath_for_genereators(): function test_warn_dynamic_children_must_have_keys (line 315) | def test_warn_dynamic_children_must_have_keys(): function test_raise_for_non_json_attrs (line 332) | def test_raise_for_non_json_attrs(): function test_invalid_vdom_keys (line 337) | def test_invalid_vdom_keys(): FILE: tests/test_html.py function test_script_re_run_on_content_change (line 11) | async def test_script_re_run_on_content_change(display: DisplayFixture): function test_script_from_src (line 48) | async def test_script_from_src(display: DisplayFixture): function test_script_may_only_have_one_child (line 89) | def test_script_may_only_have_one_child(): function test_child_of_script_must_be_string (line 96) | def test_child_of_script_must_be_string(): function test_script_has_no_event_handlers (line 101) | def test_script_has_no_event_handlers(): function test_simple_fragment (line 106) | def test_simple_fragment(): function test_fragment_can_have_no_attributes (line 120) | def test_fragment_can_have_no_attributes(): function test_svg (line 125) | async def test_svg(display: DisplayFixture): FILE: tests/test_option.py function test_option_repr (line 9) | def test_option_repr(): function test_option_from_os_environ (line 16) | def test_option_from_os_environ(): function test_option_from_default (line 21) | def test_option_from_default(): function test_option_validator (line 28) | def test_option_validator(): function test_immutable_option (line 40) | def test_immutable_option(): function test_option_reset (line 49) | def test_option_reset(): function test_option_reload (line 58) | def test_option_reload(): function test_option_set (line 65) | def test_option_set(): function test_option_set_default (line 72) | def test_option_set_default(): function test_cannot_subscribe_immutable_option (line 79) | def test_cannot_subscribe_immutable_option(): function test_option_subscribe (line 85) | def test_option_subscribe(): function test_deprecated_option (line 104) | def test_deprecated_option(): function test_option_parent (line 114) | def test_option_parent(): function test_option_parent_child_must_be_mutable (line 124) | def test_option_parent_child_must_be_mutable(): function test_no_default_or_parent (line 133) | def test_no_default_or_parent(): FILE: tests/test_pyscript/pyscript_components/custom_root_name.py function custom (line 5) | def custom(): FILE: tests/test_pyscript/pyscript_components/root.py function root (line 5) | def root(): FILE: tests/test_pyscript/test_components.py function display (line 13) | async def display(browser): function test_pyscript_component (line 22) | async def test_pyscript_component(display: DisplayFixture): function test_custom_root_name (line 45) | async def test_custom_root_name(display: DisplayFixture): function test_bad_file_path (line 69) | def test_bad_file_path(): FILE: tests/test_pyscript/test_utils.py function test_bad_root_name (line 12) | def test_bad_root_name(): function test_extend_pyscript_config (line 21) | def test_extend_pyscript_config(): function test_extend_pyscript_config_string_values (line 42) | def test_extend_pyscript_config_string_values(): function test_get_reactpy_versions_https_fail_http_success (line 64) | def test_get_reactpy_versions_https_fail_http_success(): function test_get_reactpy_versions_all_fail (line 96) | def test_get_reactpy_versions_all_fail(): FILE: tests/test_reactjs/js_fixtures/callable-prop.js function bind (line 6) | function bind(node, config) { function Component (line 14) | function Component(props) { FILE: tests/test_reactjs/js_fixtures/component-can-have-child.js function bind (line 6) | function bind(node, config) { function Parent (line 16) | function Parent(props) { function Child (line 25) | function Child({ index }) { FILE: tests/test_reactjs/js_fixtures/exports-syntax.js function functionName (line 6) | function functionName(){...} class ClassName (line 7) | class ClassName {...} FILE: tests/test_reactjs/js_fixtures/exports-two-components.js function bind (line 6) | function bind(node, config) { function Header1 (line 14) | function Header1(props) { function Header2 (line 18) | function Header2(props) { FILE: tests/test_reactjs/js_fixtures/generic-module.js function GenericComponent (line 3) | function GenericComponent(props) { FILE: tests/test_reactjs/js_fixtures/keys-properly-propagated.js function bind (line 6) | function bind(node, config) { FILE: tests/test_reactjs/js_fixtures/nest-custom-under-web.js function bind (line 6) | function bind(node, config) { FILE: tests/test_reactjs/js_fixtures/set-flag-when-unmount-is-called.js function bind (line 1) | function bind(node, config) { function renderElement (line 9) | function renderElement(element, container) { function unmountElement (line 16) | function unmountElement(container) { function SomeComponent (line 26) | function SomeComponent(props) { FILE: tests/test_reactjs/js_fixtures/simple-button.js function bind (line 6) | function bind(node, config) { function SimpleButton (line 14) | function SimpleButton(props) { FILE: tests/test_reactjs/test_modules.py function display (line 14) | async def display(browser): function test_nested_client_side_components (line 21) | async def test_nested_client_side_components(display: DisplayFixture): function test_interleaved_client_server_components (line 60) | async def test_interleaved_client_server_components(display: DisplayFixt... function test_nest_custom_component_under_web_component (line 98) | async def test_nest_custom_component_under_web_component(display: Displa... FILE: tests/test_reactjs/test_modules_from_npm.py function display (line 13) | async def display(browser): function test_component_from_npm_react_bootstrap (line 20) | async def test_component_from_npm_react_bootstrap(display: DisplayFixtur... function test_component_from_npm_react_bootstrap_with_local_framework (line 41) | async def test_component_from_npm_react_bootstrap_with_local_framework(b... function test_component_from_npm_without_explicit_reactjs_import (line 66) | async def test_component_from_npm_without_explicit_reactjs_import(browse... function test_component_from_npm_material_ui (line 89) | async def test_component_from_npm_material_ui(display: DisplayFixture): function test_component_from_npm_antd (line 104) | async def test_component_from_npm_antd(display: DisplayFixture): function test_component_from_npm_chakra_ui (line 117) | async def test_component_from_npm_chakra_ui(display: DisplayFixture): function test_component_from_npm_semantic_ui_react (line 132) | async def test_component_from_npm_semantic_ui_react(browser): function test_component_from_npm_mantine (line 152) | async def test_component_from_npm_mantine(display: DisplayFixture): function test_component_from_npm_fluent_ui (line 167) | async def test_component_from_npm_fluent_ui(display: DisplayFixture): function test_component_from_npm_blueprint (line 180) | async def test_component_from_npm_blueprint(display: DisplayFixture): function test_component_from_npm_grommet (line 193) | async def test_component_from_npm_grommet(display: DisplayFixture): function test_component_from_npm_evergreen (line 207) | async def test_component_from_npm_evergreen(display: DisplayFixture): function test_component_from_npm_react_spinners (line 219) | async def test_component_from_npm_react_spinners(display: DisplayFixture): function test_nested_npm_components (line 241) | async def test_nested_npm_components(display: DisplayFixture): function test_interleaved_npm_and_server_components (line 272) | async def test_interleaved_npm_and_server_components(display: DisplayFix... function test_complex_nested_material_ui (line 304) | async def test_complex_nested_material_ui(display: DisplayFixture): function _get_chakra_components (line 386) | def _get_chakra_components(): FILE: tests/test_reactjs/test_utils.py function test_module_name_suffix (line 34) | def test_module_name_suffix(name, suffix): function test_resolve_module_exports_from_file (line 39) | def test_resolve_module_exports_from_file(): function test_resolve_module_exports_from_file_log_on_max_depth (line 54) | def test_resolve_module_exports_from_file_log_on_max_depth(caplog): function test_resolve_module_exports_from_file_log_on_unknown_file_location (line 67) | def test_resolve_module_exports_from_file_log_on_unknown_file_location( function test_resolve_module_exports_from_url (line 80) | def test_resolve_module_exports_from_url(): function test_resolve_module_exports_from_url_log_on_max_depth (line 110) | def test_resolve_module_exports_from_url_log_on_max_depth(caplog): function test_resolve_module_exports_from_url_log_on_bad_response (line 116) | def test_resolve_module_exports_from_url_log_on_bad_response(caplog): function test_resolve_module_default_exports_from_source (line 133) | def test_resolve_module_default_exports_from_source(text): function test_resolve_module_exports_from_source (line 138) | def test_resolve_module_exports_from_source(): function test_log_on_unknown_export_type (line 152) | def test_log_on_unknown_export_type(): function test_resolve_relative_url (line 159) | def test_resolve_relative_url(): function test_copy_file_fallback (line 171) | def test_copy_file_fallback(tmp_path): function test_simple_file_lock_timeout (line 193) | def test_simple_file_lock_timeout(tmp_path): FILE: tests/test_sample.py function test_sample_app (line 5) | async def test_sample_app(display: DisplayFixture): FILE: tests/test_testing.py function test_assert_reactpy_logged_does_not_suppress_errors (line 14) | def test_assert_reactpy_logged_does_not_suppress_errors(): function test_assert_reactpy_logged_message (line 21) | def test_assert_reactpy_logged_message(): function test_assert_reactpy_logged_error (line 29) | def test_assert_reactpy_logged_error(): function test_assert_reactpy_logged_assertion_error_message (line 90) | def test_assert_reactpy_logged_assertion_error_message(): function test_assert_reactpy_logged_ignores_level (line 104) | def test_assert_reactpy_logged_ignores_level(): function test_assert_reactpy_did_not_log (line 115) | def test_assert_reactpy_did_not_log(): function test_simple_display_fixture (line 139) | async def test_simple_display_fixture(browser): function test_list_logged_exceptions (line 145) | def test_list_logged_exceptions(): function test_hotswap_update_on_change (line 161) | async def test_hotswap_update_on_change(display: DisplayFixture): function test_backend_server_failure (line 212) | async def test_backend_server_failure(): function test_display_fixture_headless_logic (line 232) | async def test_display_fixture_headless_logic(): function test_display_fixture_internal_backend (line 266) | async def test_display_fixture_internal_backend(): FILE: tests/test_utils.py function test_basic_ref_behavior (line 9) | def test_basic_ref_behavior(): function test_ref_equivalence (line 27) | def test_ref_equivalence(): function test_ref_repr (line 35) | def test_ref_repr(): function test_string_to_reactpy (line 91) | def test_string_to_reactpy(case): function test_string_to_reactpy_empty_source (line 96) | def test_string_to_reactpy_empty_source(source): function test_string_to_reactpy_non_string_source (line 101) | def test_string_to_reactpy_non_string_source(source): function test_string_to_reactpy_missing_tags (line 107) | def test_string_to_reactpy_missing_tags(source): function test_string_to_reactpy_default_transforms (line 222) | def test_string_to_reactpy_default_transforms(case): function test_string_to_reactpy_intercept_links (line 226) | def test_string_to_reactpy_intercept_links(): function test_string_to_reactpy_custom_transform (line 243) | def test_string_to_reactpy_custom_transform(): function test_non_html_tag_behavior (line 276) | def test_non_html_tag_behavior(): class StableReprObject (line 295) | class StableReprObject: method __repr__ (line 296) | def __repr__(self): function example_parent (line 304) | def example_parent(): function example_middle (line 309) | def example_middle(): function example_child (line 314) | def example_child(): function example_str_return (line 319) | def example_str_return(): function example_none_return (line 324) | def example_none_return(): function test_reactpy_to_string (line 408) | def test_reactpy_to_string(vdom_in, html_out): function test_reactpy_to_string_error (line 412) | def test_reactpy_to_string_error(): function test_invalid_dotted_path (line 417) | def test_invalid_dotted_path(): function test_invalid_component (line 422) | def test_invalid_component(): function test_invalid_module (line 429) | def test_invalid_module(): FILE: tests/test_web/js_fixtures/callable-prop.js function bind (line 6) | function bind(node, config) { function Component (line 14) | function Component(props) { FILE: tests/test_web/js_fixtures/component-can-have-child.js function bind (line 6) | function bind(node, config) { function Parent (line 16) | function Parent(props) { function Child (line 25) | function Child({ index }) { FILE: tests/test_web/js_fixtures/exports-syntax.js function functionName (line 6) | function functionName(){...} class ClassName (line 7) | class ClassName {...} FILE: tests/test_web/js_fixtures/exports-two-components.js function bind (line 6) | function bind(node, config) { function Header1 (line 14) | function Header1(props) { function Header2 (line 18) | function Header2(props) { FILE: tests/test_web/js_fixtures/generic-module.js function GenericComponent (line 3) | function GenericComponent(props) { FILE: tests/test_web/js_fixtures/keys-properly-propagated.js function bind (line 6) | function bind(node, config) { FILE: tests/test_web/js_fixtures/set-flag-when-unmount-is-called.js function bind (line 1) | function bind(node, config) { function renderElement (line 9) | function renderElement(element, container) { function unmountElement (line 16) | function unmountElement(container) { function SomeComponent (line 26) | function SomeComponent(props) { FILE: tests/test_web/js_fixtures/simple-button.js function bind (line 6) | function bind(node, config) { function SimpleButton (line 14) | function SimpleButton(props) { FILE: tests/test_web/test_module.py function display (line 28) | async def display(browser): function test_that_js_module_unmount_is_called (line 35) | async def test_that_js_module_unmount_is_called(display: DisplayFixture): function test_module_from_url (line 68) | async def test_module_from_url(browser): function test_module_from_file (line 90) | async def test_module_from_file(display: DisplayFixture): function test_module_from_file_source_conflict (line 113) | def test_module_from_file_source_conflict(tmp_path): function test_web_module_from_file_symlink (line 140) | def test_web_module_from_file_symlink(tmp_path): function test_web_module_from_file_symlink_twice (line 155) | def test_web_module_from_file_symlink_twice(tmp_path): function test_web_module_from_file_replace_existing (line 178) | def test_web_module_from_file_replace_existing(tmp_path): function test_module_missing_exports (line 193) | def test_module_missing_exports(): function test_module_exports_multiple_components (line 203) | async def test_module_exports_multiple_components(display: DisplayFixture): function test_imported_components_can_render_children (line 220) | async def test_imported_components_can_render_children(display: DisplayF... function test_keys_properly_propagated (line 243) | async def test_keys_properly_propagated(display: DisplayFixture): function test_subcomponent_notation_as_str_attrs (line 306) | async def test_subcomponent_notation_as_str_attrs(display: DisplayFixture): function test_subcomponent_notation_as_obj_attrs (line 365) | async def test_subcomponent_notation_as_obj_attrs(display: DisplayFixture): function test_callable_prop_with_javacript (line 423) | async def test_callable_prop_with_javacript(display: DisplayFixture): function test_component_from_string (line 444) | def test_component_from_string(): function test_component_from_url (line 455) | async def test_component_from_url(browser): function test_component_from_file (line 474) | async def test_component_from_file(display: DisplayFixture): function test_component_from_url_caching (line 494) | def test_component_from_url_caching(): function test_component_from_file_caching (line 511) | def test_component_from_file_caching(tmp_path): function test_component_from_string_caching (line 527) | def test_component_from_string_caching(): function test_component_from_string_with_no_name (line 542) | def test_component_from_string_with_no_name(): function test_module_without_bind (line 553) | async def test_module_without_bind(display: DisplayFixture): FILE: tests/test_widgets.py function test_image_from_string (line 19) | async def test_image_from_string(display: DisplayFixture): function test_image_from_bytes (line 26) | async def test_image_from_bytes(display: DisplayFixture): function test_use_linked_inputs (line 33) | async def test_use_linked_inputs(display: DisplayFixture): function test_use_linked_inputs_on_change (line 56) | async def test_use_linked_inputs_on_change(display: DisplayFixture): function test_use_linked_inputs_on_change_with_cast (line 84) | async def test_use_linked_inputs_on_change_with_cast(display: DisplayFix... function test_use_linked_inputs_ignore_empty (line 111) | async def test_use_linked_inputs_ignore_empty(display: DisplayFixture): FILE: tests/tooling/aio.py class Event (line 9) | class Event(_Event): method wait (line 12) | async def wait(self, timeout: float | None = None): FILE: tests/tooling/common.py function event_message (line 9) | def event_message(target: str, *data: Any) -> LayoutEventMessage: function update_message (line 13) | def update_message(path: str, model: Any) -> LayoutUpdateMessage: FILE: tests/tooling/hooks.py function use_force_render (line 4) | def use_force_render(): function use_toggle (line 8) | def use_toggle(init=False): function use_counter (line 13) | def use_counter(initial_value): FILE: tests/tooling/layout.py function layout_runner (line 18) | async def layout_runner(layout: Layout) -> AsyncIterator[LayoutRunner]: class LayoutRunner (line 23) | class LayoutRunner: method __init__ (line 24) | def __init__(self, layout: Layout) -> None: method render (line 28) | async def render(self) -> VdomJson: method trigger (line 39) | async def trigger(self, element: VdomJson, event_name: str, *data: Any... FILE: tests/tooling/select.py function id_equals (line 11) | def id_equals(id: str) -> Selector: function class_equals (line 15) | def class_equals(class_name: str) -> Selector: function text_equals (line 22) | def text_equals(text: str) -> Selector: function _element_text (line 26) | def _element_text(element: VdomJson) -> str: function element_exists (line 32) | def element_exists(element: VdomJson, selector: Selector) -> bool: function find_element (line 36) | def find_element( function find_elements (line 69) | def find_elements( function _find_elements (line 86) | def _find_elements( class ElementInfo (line 104) | class ElementInfo: