Skip to content

Project state goes a bit strange when navigating away without page reload #39

@pufferfish101007

Description

@pufferfish101007

A few things in one issue here:

  • navigating away from the project page while a project is running does not stop the project
  • navigating away from one project and to another project, without reloading the page, sometimes causes the project runner to crash, often at js/looks/switchcostumeto.ts:5 (TypeError: Cannot read properties of undefined (reading 'data')); this is probably due to the setup function not running when the project is switched, as the module is not reimported.

Essentially, state just needs to be cleaned up when a navigation event occurs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions