Closed layershifter closed 4 years ago
Warnings | |
---|---|
:warning: | There are no updates provided to CHANGELOG. Ensure there are no publicly visible changes introduced by this PR. |
Status | Scenario | Fluent TPI | Fabric TPI | Ratio | Iterations | Ticks |
---|---|---|---|---|---|---|
🔧 | Avatar.Fluent | 0.46 | 0.39 | 1.18:1 | 2000 | 928 |
🎯 | Button.Fluent | 0.12 | 0.17 | 0.71:1 | 1000 | 115 |
🔧 | Checkbox.Fluent | 0.95 | 0.39 | 2.44:1 | 1000 | 952 |
🔧 | Dialog.Fluent | 0.33 | 0.18 | 1.83:1 | 5000 | 1671 |
🔧 | Dropdown.Fluent | 3.83 | 0.38 | 10.08:1 | 1000 | 3826 |
🔧 | Icon.Fluent | 0.13 | 0.03 | 4.33:1 | 5000 | 641 |
🎯 | Image.Fluent | 0.05 | 0.07 | 0.71:1 | 5000 | 247 |
🔧 | Slider.Fluent | 1.44 | 0.36 | 4:1 | 1000 | 1444 |
🔧 | Text.Fluent | 0.05 | 0.02 | 2.5:1 | 5000 | 265 |
🦄 | Tooltip.Fluent | 0.12 | 18.8 | 0.01:1 | 5000 | 580 |
🔧 Needs work 🎯 On target 🦄 Amazing
Generated by :no_entry_sign: dangerJS
This PR adds
useAutoControlled()
for cases whenuseStateManager()
is too heavy abstraction, i.e. it's too complicated to useuseStateManager()
to manager one autocontrolled prop.Usage
Returned signature mimics
React.useState()
.