dojo / widgets

:rocket: Dojo - UI widgets.
https://widgets.dojo.io
Other
88 stars 66 forks source link

Bug: Check span value in diff property #1750

Closed agubler closed 3 years ago

agubler commented 3 years ago

Type: bug

The following has been addressed in the PR:

Description:

diffProperty needs to actually do the diff on the span property to determine if the callback needs to be called. Otherwise the the callback is called every time and ends up with causing an infinite render loop.

vercel[bot] commented 3 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployments, click below or on the icon next to each commit.

widget-test-docs – ./

πŸ” Inspect: https://vercel.com/dojo/widget-test-docs/EinhYyZwsWpDZNzLDpG7kdAiz8kg
βœ… Preview: https://widget-test-docs-git-fork-agubler-stack-renderes-dojo1.vercel.app

dojo.widgets – ./

πŸ” Inspect: https://vercel.com/dojo/dojo.widgets/49t1oCb34CkHb54HaWfx3JgKUQyj
βœ… Preview: https://dojowidgets-git-fork-agubler-stack-renderes-dojo1.vercel.app

codecov[bot] commented 3 years ago

Codecov Report

Merging #1750 (2f42ae8) into master (9d94b19) will decrease coverage by 0.01%. The diff coverage is 66.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1750      +/-   ##
==========================================
- Coverage   90.57%   90.55%   -0.02%     
==========================================
  Files          96       96              
  Lines        5218     5220       +2     
  Branches     1418     1419       +1     
==========================================
+ Hits         4726     4727       +1     
  Misses        241      241              
- Partials      251      252       +1     
Impacted Files Coverage Ξ”
src/stack/index.tsx 98.24% <66.66%> (-1.76%) :arrow_down:

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 9d94b19...2f42ae8. Read the comment docs.