With the old version of snabbdom, I get an error on example 4 by:
Clicking 'add'
Clicking 'X' on the counter that appeared after step one.
The error is Uncaught TypeError: Cannot read property 'style' of undefined and seems related to the ' ' elements in the child arrays in the viewWithRemoveButton function. Updating to a newer version resolved the problem for me.
With the old version of snabbdom, I get an error on example 4 by:
The error is
Uncaught TypeError: Cannot read property 'style' of undefined
and seems related to the ' ' elements in the child arrays in the viewWithRemoveButton function. Updating to a newer version resolved the problem for me.