NervJS / nerv

A blazing fast React alternative, compatible with IE8 and React 16.

Home Page:https://nerv.aotu.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`styled-components` throws `Cannot read property 'componentStyle' of undefined`

naturalethic opened this issue · comments

StyleSheetManager.js:30 Uncaught (in promise) TypeError: Cannot read property 'componentStyle' of undefined
    at StyledComponent.renderOuter (StyleSheetManager.js:30)
    at Consumer.render (create-context.ts:91)
    at lifecycle.ts:148
    at errorCatcher (lifecycle.ts:30)
    at renderComponent (renderer.js:16833)
    at mountComponent (lifecycle.ts:116)
    at ComponentWrapper.init (full-component.ts:51)
    at createElement (create-element.ts:27)
    at mountVNode (lifecycle.ts:75)
    at mountComponent (lifecycle.ts:122)