CodeSandBox如何管理沙箱?

  

ref:https://codesandbox.io/docs/importing

我想知道CodeSandBox如何生成,存储和管理沙箱。 如果我用POST请求,它总是为相同的代码输出固定的id值。 例如,无论何时何地我都以这种方式编码:

const parameters = getParameters({
  files: {
    "index.js": {
      content: "console.log('hello')"
    },"package.json": {
      content: { dependencies: {} }
    }
  }
});

它始终以id值输出:kk4mmp1zz7

CSB是否已按代码包含沙箱? 我认为可以使用某些规则将其解析为哈希并在请求发生时生成。

liwenlin123 回答:CodeSandBox如何管理沙箱?

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/3038982.html

大家都在问