Closed lritter79 closed 4 days ago
Might be a heavy lift, but perhaps you need to modify the childrenview function to take in params as well to pass state? Just my guess since keeping the output in the parent state is what got it working before.
Might be a heavy lift, but perhaps you need to modify the childrenview function to take in params as well to pass state? Just my guess since keeping the output in the parent state is what got it working before.
no because the component type it returns is then used, passing the node as a attr/prop, which lets you access the treehouse component. but we don't need the output state there. it should be able to keep it in its own mithril component state (via vnode)
Made some fixes based on feedback, switching to a fxnal component with jsx the fix. Closing this PR to start another one.