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:
1 parent
0820e18d3d
commit
120ee18368
3 files changed
+16
-9
No files matched your search
@@ -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"),
|
||||
|
||||
Reference in new issue
Block a user