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

Function default_overlay_components

reflex/app.py:240–250  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

238 from reflex_base.components.memo import memo
239
240 def default_overlay_components() -> Component:
241 return Fragment.create(
242 connection_pulser(),
243 connection_toaster(),
244 *(
245 [backend_disabled()]
246 if get_compile_context() == constants.CompileContext.DEPLOY
247 else []
248 ),
249 *codespaces.codespaces_auto_redirect(),
250 )
251
252 return Fragment.create(memo(default_overlay_components)())
253

Callers

nothing calls this directly

Calls 2

get_compile_contextFunction · 0.90
createMethod · 0.45

Tested by

no test coverage detected