Cross posting this from an issue I raised here: preactjs/enzyme-adapter-preact-pure#61
Picostyle expects the render function to be called with the second argument being the children of the component, not the context, this should be an element, string or array. An invalid VNode is created because of this.
full comment describing the issue here: preactjs/enzyme-adapter-preact-pure#61 (comment)
Cross posting this from an issue I raised here: preactjs/enzyme-adapter-preact-pure#61
Picostyle expects the render function to be called with the second argument being the children of the component, not the context, this should be an element, string or array. An invalid VNode is created because of this.
full comment describing the issue here: preactjs/enzyme-adapter-preact-pure#61 (comment)