Skip to content
1 viewer

rust 1,961,941 · typescript 233,850 · javascript 141,145 · python 22,871 · 6,801 files · digest 6d882eacc8db · built in 12.5 s · crystals off

cre8-app-view-dom view cargo crate

Rust→WASM DOM renderer for canonical ViewNode trees. SSR-first hydration: walks the server-rendered DOM, attaches event handlers, takes over reconciliation. Mirrors `client/src/view/ViewNodeRenderer.tsx` so the same tree drives both renderers.

crates/cre8-app-view-dom · level 9 · 6,133 lines (5,037 code) · 11 files · 521 fns (112 tests) · cyclomatic Σ 931

1workspace deps
2direct dependents
102transitive dependents
79calls out
3calls in
622call-graph weight
0.0%exact crystals

Neighbourhood

Left: crates that declare this one. Right: crates it declares (dev-dependencies included). Edge width grows with resolved calls.

normal dep · 3 calls · source referencenormal dep · 79 calls · source referencenormal dep · 0 calls · source referenceapp-view-domL9 · 5,037 linescre8-app-view-domapp-viewL10 · 6,011 linescre8-app-viewapp-view-libL8 · 89,193 linescre8-app-view-libruntime-browserL31 · 445 linescre8-runtime-browser

Files

lowhigh

File call graph

Resolved calls between this crate's files, callers left of callees.

Heaviest functions

By call-graph weight (PageRank; 1.0 is the average function). 521 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
assert_ssr_dom_paritysrc/dom_renderer.rs:702fn3158124.4
ssr_dom_parity_htmlsrc/dom_renderer.rs:706fn2013421.9
inject_kindsrc/dom_renderer.rs:679fn733221.3
render_sharedsrc/dom_renderer.rs:378fn10147210.7
inject_object_kindsrc/dom_renderer.rs:687fn83119.6
inject_array_kindsrc/dom_renderer.rs:696fn52119.6
format_cellsrc/pure.rs:21fn95806.7
diffsrc/reconciler.rs:98fn1831576.5
render_intosrc/dom_renderer.rs:221fn81426
unmount_existing_subtreesrc/lib.rs:724fn921145.7
sleepsrc/live_slot_binder.rs:974fn71805.5
inject_kindsrc/dom_renderer.rs:1187fn73325.3
WebSysSink::newsrc/dom_renderer.rs:40method31305.2
WebSysSink::into_rootsrc/dom_renderer.rs:60method62305.2
hydrate_subtree_with_documentsrc/lib.rs:595fn62925.1
build_elementsrc/dom_renderer.rs:339fn144574.5
portable_ir_tree_with_companionsrc/lib.rs:56fn112404.2
setup_lazy_hydrationsrc/lib.rs:247fn364223.6
bind_elementsrc/lifecycle.rs:52fn3021023.6
supports_action_bindingsrc/form_contract.rs:33fn31513.3
qualifiessrc/form_contract.rs:37fn3219103.3
is_standard_attrsrc/reconciler.rs:246fn31403.1
is_inside_lazy_containersrc/lib.rs:233fn134803
trigger_highlightsrc/live_slot_binder.rs:451fn112512.9
setup_lazy_hydration_targetssrc/lib.rs:602fn72222.9
apply_patch_scopedsrc/live_slot_binder.rs:470fn3411532.9
inject_object_kindsrc/dom_renderer.rs:1195fn83112.7
inject_array_kindsrc/dom_renderer.rs:1204fn52112.7
attach_hydration_behaviorssrc/lib.rs:716fn71142.7
view_node_has_live_dom_contractsrc/lib.rs:140fn93102.5
WebSysSink::failsrc/dom_renderer.rs:44method52702.5
empty_objectsrc/state_binder.rs:377fn31202.5
apply_bindingsrc/state_binder.rs:319fn73132.5
apply_adjacent_patchsrc/live_slot_binder.rs:786fn101432.5
set_stream_statussrc/live_slot_binder.rs:1006fn92742.4
set_input_valuesrc/reconciler.rs:382fn93232.4
tree_has_live_dom_contractsrc/lib.rs:132fn61112.4
apply_one_patchsrc/reconciler.rs:471fn82122.3
refresh_keysrc/state_binder.rs:294fn122312.3
portable_ir_treesrc/lib.rs:42fn51212.3

Outside the workspace

js-sys serde serde-wasm-bindgen serde_json wasm-bindgen wasm-bindgen-futures wasm-bindgen-test web-sys