Jonkman Microblog
  • Login
Show Navigation
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. zac anger (zacanger@mastodon.social)'s status on Tuesday, 30-Jan-2018 19:32:02 EST zac anger zac anger

    something i've been thinking about:

    (async () => {
    const manifest = await fetch(config.manifestUrl)
    const { apps } = await manifest.json()
    Promise.all(apps.map((app) =>
    import(app).then(({ default: App, mount }) =>
    mount(App))))
    })()

    A tiny universal frontend microservice loader. There's this thing called Sofe that a local company uses to do something similar, but their lib uses SystemJS, and `import()` is stage-3 so I think it's time to move on from SystemJS.

    In conversation Tuesday, 30-Jan-2018 19:32:02 EST from mastodon.social permalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Jonkman Microblog is a social network, courtesy of SOBAC Microcomputer Services. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Jonkman Microblog content and data are available under the Creative Commons Attribution 3.0 license.

Switch to desktop site layout.