Skip to content

Broken on React Native >= 0.60.0 (Invariant Violation: Element type is invalid) #27

Closed
@toumas

Description

@toumas

WebView was finally removed from react-native in v0.60 thus this package no longer works with the newer versions of react-native.

Here's the issue reproduced.

The error:

Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.

Check the render method of `ECharts`.

This error is located at:
    in RCTView (at View.js:35)
    in View (at src/index.js:158)
    in ECharts (at App.js:25)
    in RCTView (at View.js:35)
    in View (at App.js:24)
    in App (at renderApplication.js:40)
    in RCTView (at View.js:35)
    in View (at AppContainer.js:98)
    in RCTView (at View.js:35)
    in View (at AppContainer.js:115)
    in AppContainer (at renderApplication.js:39)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions