Skip to content
This repository was archived by the owner on Jul 13, 2020. It is now read-only.
This repository was archived by the owner on Jul 13, 2020. It is now read-only.

Depreciation of translate hook #525

Closed
@dmail

Description

@dmail

If I am not mistaken, translate hook is, or will be, deprecated according to whatwg/loader#147

My concern is about "fetch and translate hooks can be implemented in user-land via service workers or Realm's evaluation hook."

If I understand correctly, server will return an already transpiled source when a module is fetched by browser. That's fine for the browser but server itself will now have to depend on an other server transpiling source for it, causing two issues :

  • The other server cannot use SystemJS (he is reponsible to transpile)
  • For now, SystemJS does not support http call on node (system-fetch.js#L79)

I don't know what "Realm's evaluation hook" is, would it solve this problem ?

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