-
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
Merge react-internal back into react #16832
Conversation
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
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 286a565:
|
Asset size changes
Baseline commit: e3821c337deb9b6e1cff0df227066cfa2769c3a1 (build) |
packages/react/src/components/Calendar/CalendarDay/CalendarDay.base.tsx
Outdated
Show resolved
Hide resolved
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.
Thanks for doing this! I left one super small comment but otherwise I've approved the PR!
@ecraig12345 Just FYI this is going to collide with the pending work to add range support to Slider by @rockcs1992 (#16854) |
611f1a4
to
5a3ab36
Compare
Perf Analysis
All results
Perf Analysis (Fluent)Potential regressions comparing to master
Perf comparison
Perf tests with no regressions
|
0e08e78
to
418b2c9
Compare
418b2c9
to
29d2c56
Compare
🎉 Handy links: |
🎉 Handy links: |
🎉 Handy links: |
🎉 Handy links: |
🎉 Handy links: |
🎉 Handy links: |
🎉 Handy links: |
🎉 Handy links: |
🎉 Handy links: |
🎉 Handy links: |
🎉 Handy links: |
🎉 Handy links: |
🎉 Handy links: |
🎉 Handy links: |
🎉 Handy links: |
🎉 Handy links: |
🎉 Handy links: |
That's fine. I just merged the latest master to my working branch. It did conflict with something but not that bad. |
Per the discussion on #16577 and #16772 and elsewhere, we decided to get rid of
@fluentui/react-internal
since it's no longer strictly needed, and merge the contents back into@fluentui/react
.The one awkward thing about this is that the newer Calendar/DatePicker which have always lived in the
@fluentui/react-date-time
package were using things from@fluentui/react-internal
, but having that package depend on@fluentui/react
would cause a circular dep now that we export the newer Calendar/DatePicker by default.Workaround is to move the Calendar and DatePicker implementations into
@fluentui/react
and have@fluentui/react-date-time
re-export them. This is kind of awkward, but it works, and the change will be invisible to consumers unless they're using deep imports.(PR is giant but the commits are somewhat organized.)