Description
I'm getting:
Uncaught TypeError: originalValue.split is not a function
after updating RT from beta-4 to beta-6...
This error comes from function themeable
.
I debugged it a bit and it throws an error because it assumes that originalValue is a string.
However:typeof mixinValue === function
, and typeof originalValue === function
(when it throws).
EDIT: Now I see... These types are functions because I'm using isomorphic-style-loader.
The description of isomorphic-style-loader says it all:
An alternative CSS style loader, which works similarly to style-loader, but is optimized for isomorphic apps. In addition to what style-loader provides, it allow to render critical path CSS during server-side rendering (SSR), by adding two helper methods on to the styles object - ._insertCss() (injects CSS into the DOM) and ._getCss() (returns CSS string).