swiftwasm / swiftwasm/JavaScriptKit

JS 3rd Party Library Support

Open
#284 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
986
Forks
76
Avg merge
21h 11m
Merged PRs (30d)
4

Description

Is there any documentation or is it even possible to access/subclass classes written in another JS library? Specifically, I'm looking to use Phaser, but write my code with swift wasm.

I understand if it isn't supported, but I find anything to indicate that it is or isn't in either direction. I found some hints involving JSBridgedClass, but anything I tried doing hasn't worked so far.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The request centers on JSBridgedClass and using Phaser from Swift Wasm. Start by reviewing JSBridgedClass and the existing JavaScriptKit documentation, then determine whether accessing or subclassing third-party JavaScript classes is supported. Done means documenting a clear supported or unsupported path for Phaser, including limitations.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, swift, wasm
Domain
documentation, web-dev
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.