-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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: add support for nonce in Fela renderer #25992
Conversation
📊 Bundle size reportUnchanged fixtures
|
Perf Analysis (
|
Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
---|---|---|---|---|---|
Avatar | mount | 1666 | 1668 | 5000 | |
Button | mount | 1144 | 1160 | 5000 | |
FluentProvider | mount | 1946 | 2009 | 5000 | |
FluentProviderWithTheme | mount | 725 | 720 | 10 | |
FluentProviderWithTheme | virtual-rerender | 679 | 675 | 10 | |
FluentProviderWithTheme | virtual-rerender-with-unmount | 722 | 732 | 10 | |
MakeStyles | mount | 2294 | 2348 | 50000 | |
Persona | mount | 4073 | 4036 | 5000 | |
SpinButton | mount | 3252 | 3257 | 5000 |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit e9d449b:
|
ddb3c8a
to
1b1133e
Compare
🕵 fluentuiv8 No visual regressions between this PR and main |
🕵 fluentuiv9 No visual regressions between this PR and main |
Asset size changes
Baseline commit: d5f35725ccf189c073b7815c8d3ee2f25c3839c1 (build) |
Perf Analysis (
|
Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
---|---|---|---|---|---|
GroupedList | mount | 2195 | 2477 | 2 | Possible regression |
All results
Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
---|---|---|---|---|---|
BaseButton | mount | 1379 | 1362 | 5000 | |
Breadcrumb | mount | 3416 | 3460 | 1000 | |
Checkbox | mount | 3087 | 3132 | 5000 | |
CheckboxBase | mount | 2722 | 2745 | 5000 | |
ChoiceGroup | mount | 5106 | 5224 | 5000 | |
ComboBox | mount | 1440 | 1447 | 1000 | |
CommandBar | mount | 11175 | 11115 | 1000 | |
ContextualMenu | mount | 12681 | 12482 | 1000 | |
DefaultButton | mount | 1590 | 1591 | 5000 | |
DetailsRow | mount | 4210 | 4226 | 5000 | |
DetailsRowFast | mount | 4201 | 4190 | 5000 | |
DetailsRowNoStyles | mount | 4050 | 4001 | 5000 | |
Dialog | mount | 3573 | 3540 | 1000 | |
DocumentCardTitle | mount | 683 | 656 | 1000 | |
Dropdown | mount | 3732 | 3739 | 5000 | |
FocusTrapZone | mount | 2321 | 2351 | 5000 | |
FocusZone | mount | 2253 | 2335 | 5000 | |
GroupedList | mount | 2195 | 2477 | 2 | Possible regression |
GroupedList | virtual-rerender | 1341 | 1319 | 2 | |
GroupedList | virtual-rerender-with-unmount | 1905 | 1944 | 2 | |
GroupedListV2 | mount | 665 | 650 | 2 | |
GroupedListV2 | virtual-rerender | 629 | 642 | 2 | |
GroupedListV2 | virtual-rerender-with-unmount | 670 | 665 | 2 | |
IconButton | mount | 2208 | 2218 | 5000 | |
Label | mount | 837 | 837 | 5000 | |
Layer | mount | 4920 | 4996 | 5000 | |
Link | mount | 940 | 943 | 5000 | |
MenuButton | mount | 1928 | 1943 | 5000 | |
MessageBar | mount | 2670 | 2723 | 5000 | |
Nav | mount | 3782 | 3750 | 1000 | |
OverflowSet | mount | 1586 | 1594 | 5000 | |
Panel | mount | 2904 | 2957 | 1000 | |
Persona | mount | 1531 | 1500 | 1000 | |
Pivot | mount | 1937 | 1933 | 1000 | |
PrimaryButton | mount | 1741 | 1760 | 5000 | |
Rating | mount | 8000 | 8059 | 5000 | |
SearchBox | mount | 1747 | 1718 | 5000 | |
Shimmer | mount | 3276 | 3279 | 5000 | |
Slider | mount | 2433 | 2421 | 5000 | |
SpinButton | mount | 5364 | 5406 | 5000 | |
Spinner | mount | 922 | 935 | 5000 | |
SplitButton | mount | 3604 | 3508 | 5000 | |
Stack | mount | 962 | 981 | 5000 | |
StackWithIntrinsicChildren | mount | 2686 | 2652 | 5000 | |
StackWithTextChildren | mount | 5519 | 5484 | 5000 | |
SwatchColorPicker | mount | 11965 | 11965 | 5000 | |
TagPicker | mount | 3156 | 2961 | 5000 | |
TeachingBubble | mount | 96375 | 95924 | 5000 | |
Text | mount | 939 | 909 | 5000 | |
TextField | mount | 1842 | 1805 | 5000 | |
ThemeProvider | mount | 1739 | 1744 | 5000 | |
ThemeProvider | virtual-rerender | 1248 | 1251 | 5000 | |
ThemeProvider | virtual-rerender-with-unmount | 2518 | 2517 | 5000 | |
Toggle | mount | 1288 | 1302 | 5000 | |
buttonNative | mount | 643 | 644 | 5000 |
1b1133e
to
f0ce772
Compare
Perf Analysis (
|
🕵 FluentUI-v0 No visual regressions between this PR and main |
a9b6854
to
edd0c10
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's some heavy duct tape
edd0c10
to
bf2e6a5
Compare
bf2e6a5
to
e9d449b
Compare
/azp run |
Azure Pipelines successfully started running 4 pipeline(s). |
Fixes #25583.
BREAKING CHANGES
This PR contains a breaking change in
@fluentui/react-northstar-fela-renderer
to allow configurenonce
property on style tags.createFelaRenderer()
now is a factory that accepts options:Before
After
Notes
I didn't bump Fela fully as we have enhancers that should be update for a newer version. Instead I copied
RendererProvider
fromreact-fela
(actuallyfela-bindings
) and bumpedfela-dom
to a version that supportsstyleAttributes
feature (robinweser/fela#768).