描述bug
Promise.resolve().finally(()=>{}) // TypeError: Promise.resolve().finally is not a function.
这个bug是由于core-js
的polyfill破坏了JS环境(https://reactnative.dev/docs/javascript-environment)导致的。
复现方法
Repo: https://github.com/retyui/storybook-issues-18691
git clone https://github.com/retyui/storybook-issues-18691
cd storybook-issues-18691
yarn # instal deps
yarn start # run metro bundler
yarn android # open app
# or `yarn ios`
系统信息
...
附加信息
...
1条答案
按热度按时间m0rkklqb1#
有任何进展吗?