Skip to content

js_modules not behaving like in Polyscript #1899

@WebReflection

Description

@WebReflection

Checklist

  • I added a descriptive title
  • I searched for other issues and couldn't find a solution or duplication
  • I already searched in Google and didn't find any good information or help

What happened?

Apparently from pyscript.js_modules import Thing doesn't work in PyScript the same way it does on Polyscript.

The main difference is that in PyScript that's exported within the Python code, as opposite of being registered as JS module like it is for Polyscript where js_modules use registerJSModule utility instead.

What browsers are you seeing the problem on? (if applicable)

No response

Console info

No response

Additional Context

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions