Skip to content

Fully automatic initializer #2

@rdmurphy

Description

@rdmurphy

One cool feature of Pym was that you could just load the library and it'd do the auto initialization without an explicit call. It was purposively left out of this to ensure no surprises (and to keep tree shaking functional), but it'd be cool to be able to import a specific version of the library that did do this.

import `@newswire/frames/auto`;

And...

<script src="https://unpkg.com/@newswire/frames/auto.js"></script>
<!-- or -->
<script src="https://unpkg.com/@newswire/frames/auto/index.js"></script>

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions