-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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 Emotion renderer for v0 #13547
Conversation
Perf AnalysisNo significant results to display. All results
Perf Analysis (Fluent)Perf comparison
Perf tests with no regressions
|
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 83a3742a0edc6d473cafb768e47722e97f9bf8a7 (build) |
e7573df
to
35546b8
Compare
b99235d
to
618d20d
Compare
618d20d
to
4da9951
Compare
8a05bf0
to
a86a957
Compare
a86a957
to
87d2c63
Compare
…com/microsoft/fluentui into chore/emotion-tryout � Conflicts: � packages/fluentui/CHANGELOG.md
packages/fluentui/react-northstar-emotion-renderer/src/createEmotionRenderer.ts
Outdated
Show resolved
Hide resolved
packages/fluentui/react-northstar-emotion-renderer/src/invokeKeyframes.ts
Outdated
Show resolved
Hide resolved
packages/fluentui/react-northstar-emotion-renderer/src/disableAnimations.ts
Show resolved
Hide resolved
packages/fluentui/react-northstar/src/themes/teams/components/SvgIcon/svgIconStyles.ts
Outdated
Show resolved
Hide resolved
…eyframes.ts Co-authored-by: Miroslav Stastny <mistastn@microsoft.com>
…com/microsoft/fluentui into chore/emotion-tryout � Conflicts: � packages/fluentui/CHANGELOG.md
scripts/dangerjs/detectNonApprovedDependencies/approvedPackages.ts
Outdated
Show resolved
Hide resolved
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 e4b7f61:
|
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 483fe7f:
|
Changes ⛏️
This PR adds Emotion as a CSS-in-JS renderer. To use it:
To run it on docsite, insert this to devconsole and execute:
Why? ❔ ❔ ❔
Fela is one of the slowest CSS-in-JS engines nowadays, can be checked: https://necolas.github.io/react-native-web/benchmarks/
Numbers there match things that we can measure with our perf tests and the telemetry panel.
(in these tests there is no any plugins, so in the reality Fela is more slow).
So the answer is for perf.
Measures 🏎️
ChatWithPopover
, 14% diffFela
Emotion
DropdownManyItems
, 30% diffFela
Emotion