在 Debug模式下一切正常。但是当我停止 Debug模式时,出现以下错误:
RefrenceError: Property 'Proxy' doesn't exist, js engine: hermes
最佳答案
截至2020-01-06,爱马仕明确does not support Proxy :
Language Features in Hermes
Hermes plans to target ECMAScript 2015 (ES6), with some carefully considered exceptions.
[...]
Excluded From Support
Reflection (Reflect and Proxy)
[...]
可以关注facebook/hermes #33有关此问题的更新。
它在“调试”模式下工作,因为这种模式在主机上的 V8 中运行 JavaScript,而不是在设备上的 Hermes 中。
关于reactjs - 引用错误 : Property 'Proxy' doesn't exist,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59467219/