Skip to content

mf questions #2

Open
Open

Description

@nikogu
  • 子应用 throw error 会使得整体挂掉(eval error)
  • 全局样式会被影响,比如 umi 的全局样式会影响主应用导航的样式
  • 是否支持 js sandbox?

Activity

  1. rockSandy commented on Jun 11, 2019

    @rockSandy
    Collaborator

    js sandbox 没有一个完美的解决方案,暂时不会支持。需要对子应用进行一定约束,避免使用全局变量。

    样式隔离的问题,可以在smallfish-plugin-mf中支持

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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