MCPcopy
hub / github.com/maxchehab/phelia / render

Function render

src/core/reconciler.ts:429–440  ·  view source on GitHub ↗
(
  element:
    | React.FunctionComponentElement<any>
    | React.ComponentElement<any, any>,
  action?: Action
)

Source from the content-addressed store, hash-verified

427
428/** Render the reaction components */
429export async function render(
430 element:
431 | React.FunctionComponentElement<any>
432 | React.ComponentElement<any, any>,
433 action?: Action
434) {
435 const [blocks, promises] = reconcile(element, action);
436
437 await Promise.all(promises);
438
439 return blocks;
440}
441
442/** Search filter options */
443export async function getOnSearchOptions(

Callers 11

openModalMethod · 0.90
postMessageMethod · 0.90
postEphemeralMethod · 0.90
updateMessageMethod · 0.90
updateHomeMethod · 0.90
appHomeHandlerMethod · 0.90
useModalMethod · 0.90
processActionMethod · 0.90
processSubmissionMethod · 0.90
processOptionMethod · 0.90

Calls 1

reconcileFunction · 0.85

Tested by

no test coverage detected