rip out more lifetimes
This commit is contained in:
1 parent
c9ff449e45
commit
3ad16ddd37
18 files changed
+165
-456
No files matched your search
@@ -1,6 +1,5 @@
|
||||
use crate::{
|
||||
any_props::AnyProps,
|
||||
bump_frame::BumpFrame,
|
||||
innerlude::DirtyScope,
|
||||
nodes::RenderReturn,
|
||||
scope_context::ScopeContext,
|
||||
@@ -11,7 +10,7 @@ use crate::{
|
||||
impl VirtualDom {
|
||||
pub(super) fn new_scope(
|
||||
&mut self,
|
||||
props: Box<dyn AnyProps<'static>>,
|
||||
props: Box<dyn AnyProps>,
|
||||
name: &'static str,
|
||||
) -> &ScopeState {
|
||||
let parent_id = self.runtime.current_scope_id();
|
||||
@@ -27,9 +26,6 @@ impl VirtualDom {
|
||||
|
||||
props: Some(props),
|
||||
|
||||
node_arena_1: BumpFrame::new(0),
|
||||
node_arena_2: BumpFrame::new(0),
|
||||
|
||||
render_cnt: Default::default(),
|
||||
hooks: Default::default(),
|
||||
hook_idx: Default::default(),
|
||||
|
||||
Reference in new issue
Block a user