Skip to content

Accept cache as a parameter to constructor #139

@cmdcolin

Description

@cmdcolin

Our packages have stayed on old versions of quick-lru because updating to the latest causes bundling issues. jbrowse-web bundles at least three versions of quick-lru: v2, v4, and v6 (quick-lru v6 is vendored in @jbrowse/core/util/QuickLRU)

Two possible solutions are

accept quick-lru as parameter to constructor. this also gives maximum cache control to the application, which may have specialized needs

use quick-lru as a peerDependency, and still initialize it import it this library

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