Skip to content
This repository was archived by the owner on Aug 14, 2025. It is now read-only.
This repository was archived by the owner on Aug 14, 2025. It is now read-only.

Package failed after upgrading React to 16.x #36

Description

@EliasC10

I upgraded React from 15.x to 16.x today. Is it possible to use this package with React 16.x ?
Im using React with Meteor and i get this Error when i try to Import the ImageHelper:

SyntaxError: import declarations may only appear at top level of a module

and a warning that i need React 15.x:

react-preload@0.6.0 requires a peer of react@^15.0.0 but none is installed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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