MCPcopy
hub / github.com/reflex-dev/reflex / BasicApp

Function BasicApp

tests/units/test_testing.py:29–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27 return
28
29 def BasicApp():
30 import reflex as rx
31
32 class State(rx.State):
33 pass
34
35 app = rx.App(_state=State)
36 app.add_page(lambda: rx.text("Basic App"), route="/", title="index")
37 app._compile()
38
39 with AppHarness.create(
40 root=tmp_path,

Callers

nothing calls this directly

Calls 2

add_pageMethod · 0.95
_compileMethod · 0.95

Tested by

no test coverage detected