formily icon indicating copy to clipboard operation
formily copied to clipboard

fix(react): fix import error doesn't catch

Open wenchiangh opened this issue 4 months ago • 1 comments

Before submitting a pull request, please make sure the following is done...

  • [ ] Ensure the pull request title and commit message follow the Commit Specific in English.
  • [ ] Fork the repo and create your branch from master or formily_next.
  • [ ] If you've added code that should be tested, add tests!
  • [ ] If you've changed APIs, update the documentation.
  • [ ] Ensure the test suite passes (npm test).
  • [ ] Make sure your code lints (npm run lint) - we've done our best to make sure these rules match our internal linting guidelines.

Please do not delete the above content


What have you changed?

MDN said

This means that passing undefined still causes the returned promise to be rejected, and you have to pass a function to prevent the final promise from being rejected.

in some environment without react-dom, this module will throw a error.

wenchiangh avatar Nov 01 '25 00:11 wenchiangh

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Nov 01 '25 00:11 CLAassistant