chore: improve debugability of fcptrs and vcomponents

this commit changes the fc slot type from a thin pointer to a c pointer.
this lets us provide frame inspection of components using backtrace.
This commit is contained in:
Jonathan Kelley committed 2022-01-31 03:22:34 -05:00
1 parent 0820e18d3d
commit 120ee18368
3 files changed
+16 -9

No files matched your search

+1 -1
View File
@@ -212,7 +212,7 @@ impl VirtualDom {
let scopes = ScopeArena::new(channel.0.clone());
scopes.new_with_key(
root as *const _,
root as ComponentPtr,
Box::new(VComponentProps {
props: root_props,
memo: |_a, _b| unreachable!("memo on root will neve be run"),