Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(reactive): support autorun.memo/autorun.effect #1819

Merged
merged 5 commits into from
Jul 17, 2021

Conversation

janryWang
Copy link
Collaborator

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?

@codecov
Copy link

codecov bot commented Jul 17, 2021

Codecov Report

Merging #1819 (797a8b6) into formily_next (1534444) will increase coverage by 0.07%.
The diff coverage is 100.00%.

Impacted file tree graph

@@               Coverage Diff                @@
##           formily_next    #1819      +/-   ##
================================================
+ Coverage         92.57%   92.64%   +0.07%     
================================================
  Files               135      135              
  Lines              6035     6094      +59     
  Branches           1494     1513      +19     
================================================
+ Hits               5587     5646      +59     
  Misses              444      444              
  Partials              4        4              
Impacted Files Coverage Δ
packages/reactive/src/types.ts 100.00% <ø> (ø)
packages/reactive/src/array.ts 100.00% <100.00%> (ø)
packages/reactive/src/autorun.ts 100.00% <100.00%> (ø)
packages/reactive/src/datatree.ts 100.00% <100.00%> (ø)
packages/reactive/src/reaction.ts 99.25% <100.00%> (+0.08%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1534444...797a8b6. Read the comment docs.

@github-actions
Copy link
Contributor

github-actions bot commented Jul 17, 2021

Size Change: +3.02 kB (0%)

Total Size: 1.49 MB

Filename Size Change
designable/antd/dist/formily.designable.antd.umd.development.js 346 kB +376 B (0%)
designable/antd/dist/formily.designable.antd.umd.production.js 233 kB +414 B (0%)
designable/setters/dist/formily.designable.antd.umd.development.js 320 kB +396 B (0%)
designable/setters/dist/formily.designable.antd.umd.production.js 214 kB +374 B (0%)
packages/json-schema/dist/formily.json-schema.umd.development.js 7.09 kB +115 B (+2%)
packages/json-schema/dist/formily.json-schema.umd.production.js 5 kB +73 B (+1%)
packages/react/dist/formily.react.umd.development.js 11.4 kB +104 B (+1%)
packages/react/dist/formily.react.umd.production.js 7.11 kB +72 B (+1%)
packages/reactive/dist/formily.reactive.umd.development.js 8.22 kB +567 B (+7%) 🔍
packages/reactive/dist/formily.reactive.umd.production.js 4.9 kB +347 B (+8%) 🔍
packages/vue/dist/formily.vue.umd.development.js 14.7 kB +105 B (+1%)
packages/vue/dist/formily.vue.umd.production.js 9.29 kB +74 B (+1%)
ℹ️ View Unchanged
Filename Size
designable/next/dist/formily.designable.next.umd.development.js 332 B
designable/next/dist/formily.designable.next.umd.production.js 252 B
packages/antd/dist/formily.antd.umd.development.js 59.5 kB
packages/antd/dist/formily.antd.umd.production.js 34.2 kB
packages/core/dist/formily.core.umd.development.js 18.3 kB
packages/core/dist/formily.core.umd.production.js 12.3 kB
packages/element/dist/formily.element.umd.development.js 21.3 kB
packages/element/dist/formily.element.umd.production.js 11 kB
packages/next/dist/formily.next.umd.development.js 60.5 kB
packages/next/dist/formily.next.umd.production.js 35.5 kB
packages/path/dist/formily.path.umd.development.js 12 kB
packages/path/dist/formily.path.umd.production.js 8.38 kB
packages/reactive-react/dist/formily.reactive-react.umd.development.js 3.42 kB
packages/reactive-react/dist/formily.reactive-react.umd.production.js 2.25 kB
packages/reactive-vue/dist/formily.reactive-vue.umd.development.js 2.37 kB
packages/reactive-vue/dist/formily.reactive-vue.umd.production.js 1.76 kB
packages/shared/dist/formily.shared.umd.development.js 6.35 kB
packages/shared/dist/formily.shared.umd.production.js 4.1 kB
packages/validator/dist/formily.validator.umd.development.js 7.01 kB
packages/validator/dist/formily.validator.umd.production.js 5.6 kB

compressed-size-action

@janryWang janryWang merged commit e43dda6 into formily_next Jul 17, 2021
@janryWang janryWang deleted the feat_support_autorun_memo_effects branch July 17, 2021 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant