Skip to content

Can't use datascript at the same time in popup and background #20

Description

@yqrashawn

There's a datascript not defined error in popup page if I put datascript.core/create-conn in both background.core and popup.core.
Once I deleted the datascript code in background.core, the error went away and datascript works in popup.

Can be reproduced in shadow example as this commit.

yqrashawn@e66dc616

Is this the supposed way and I misunderstand some concepts in chrome extension or shadow-cljs?

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions