I'm having problems running unstated with preact. I get the following error on init:
Uncaught TypeError: ContainerItem is not a constructor
at eval (unstated.es.js?f55a:128)
at Array.map ()
at Subscribe._createInstances (unstated.es.js?f55a:119)
at eval (unstated.es.js?f55a:150)
at Consumer.render (index.js?9c3f:133)
at callMethod (index.js?daef:480)
at Consumer.eval [as render] (index.js?daef:488)
at renderComponent (component.js?4adf:89)
at renderComponent (component.js?4adf:114)
at renderComponent (component.js?4adf:114)
I'm having problems running unstated with preact. I get the following error on init:
Uncaught TypeError: ContainerItem is not a constructor at eval (unstated.es.js?f55a:128) at Array.map ()
at Subscribe._createInstances (unstated.es.js?f55a:119)
at eval (unstated.es.js?f55a:150)
at Consumer.render (index.js?9c3f:133)
at callMethod (index.js?daef:480)
at Consumer.eval [as render] (index.js?daef:488)
at renderComponent (component.js?4adf:89)
at renderComponent (component.js?4adf:114)
at renderComponent (component.js?4adf:114)
I'm using preact-boilerplate