MCPcopy Index your code
hub / github.com/reactive-python/reactpy / render

Method render

src/py/reactpy/reactpy/core/hooks.py:288–290  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

286 self.value = value
287
288 def render(self) -> VdomDict:
289 current_hook().set_context_provider(self)
290 return {"tagName": "", "children": self.children}
291
292 def __repr__(self) -> str:
293 return f"ContextProvider({self.type})"

Callers

nothing calls this directly

Calls 2

current_hookFunction · 0.90
set_context_providerMethod · 0.80

Tested by

no test coverage detected