Skip to content

bugfix: skypack multi imports

Matthieu Fesselier requested to merge bugfix/skypack-multi-imports into master

To test the global store:

    <head>
       <script type="module" src="https://unpkg.com/@startinblox/core@0.13"></script>
    </head>

    <solid-display
      data-src="data/list/users.jsonld"
    ></solid-display>

    <script type="module">
      import { store } from '/lib/sib-core/dist/index.js'
      store.getData('data/list/users.jsonld'); // should be called from 1rst store
    </script>

The constructor of the store should be called only once, and the requests should be made only once too.

Edited by Matthieu Fesselier

Merge request reports