New reconciler finally renders, just need to do some cleanup then can finally move on
This commit is contained in:
parent
da96abff6a
commit
2a73b399d9
6 changed files with 56 additions and 38 deletions
|
|
@ -32,14 +32,12 @@ impl RSX {
|
|||
pub fn node(
|
||||
tag: &'static str,
|
||||
create_fn: fn(key: ComponentKey) -> Box<Component>,
|
||||
props: Props,
|
||||
children: Vec<RSX>
|
||||
props: Props
|
||||
) -> RSX {
|
||||
RSX::VirtualNode(VirtualNode {
|
||||
tag: tag,
|
||||
create_component_fn: create_fn,
|
||||
props: props,
|
||||
children: children
|
||||
props: props
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Reference in a new issue