Skip to content

HTMLAnchorElement causes the mini program to crash #966

@odex21

Description

@odex21

截屏2022-01-18 上午3 12 34

Like #547

There is no dom environment in the mini program, which is used by hundreds of millions of people in China, and worse, many companies in China (e.g. Baidu, Byte, Alipay) are making their own mini program. They may be bad, but they do run on js, and there are companies making their own systems using js as an application development language (Huawei for example).
Correspondingly, there are also companies that are engaging in vue/react into various frameworks for small programs (WeChat team is also doing it)

Vue3 already works well in Taro3, I've been using patch-package to deal with this problem before (sorry to mention it now), but after recently changing to pnpm, patch-package has a lot of problems.

Avoiding the Dom Api as much as possible might make compatibility easier to do?

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