-
Notifications
You must be signed in to change notification settings - Fork 27
Closed
Description
New to domvm, moving from Mithril, so apologies if I have misunderstood
If I have a view that only renders another view, then I get an error of cannot set _node of undefined
at
Line 57 in 39113cd
vnode.el._node = vnode; |
The problem goes away if, for example, View A renders View B inside a <div>
or other DOM element, but it seems it doesn't like a view that only renders another view.
I have a small flems,io example which shows this in action
I can rewrite the existing components/views so that they wrap the sub-views, or become template producing functions, but wondered if this is an intentional restriction?
Oh, and thanks for what already looks like a great library.
Metadata
Metadata
Assignees
Labels
No labels