-
Notifications
You must be signed in to change notification settings - Fork 2.9k
BREAKING: useTable renamed to useTableFeatures
#25797
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
BREAKING: useTable renamed to useTableFeatures
#25797
Conversation
In order to avoid future conflict with the component hook `useTable_unstable`. The headless state `useTable` hook has been renamed to `useTableFeatures`.
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 6f450a1713c40d5429306ab1f6d76bc19e65c295 (build) |
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| Avatar | mount | 1294 | 1352 | 5000 | |
| Button | mount | 932 | 936 | 5000 | |
| FluentProvider | mount | 1608 | 1596 | 5000 | |
| FluentProviderWithTheme | mount | 627 | 629 | 10 | |
| FluentProviderWithTheme | virtual-rerender | 582 | 589 | 10 | |
| FluentProviderWithTheme | virtual-rerender-with-unmount | 640 | 627 | 10 | |
| MakeStyles | mount | 1890 | 1923 | 50000 | |
| SpinButton | mount | 2526 | 2529 | 5000 |
📊 Bundle size reportUnchanged fixtures
|
|
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 4775f03:
|
🕵 fluentuiv9 No visual regressions between this PR and main |
|
Is there sense to also rename |
Perhaps, there's less urgency there since there's no naming conflict there |
|
In any case I've renmaed |
Pull request was closed
* master: BREAKING: `useTable` renamed to `useTableFeatures` (microsoft#25797) chore: add retries for navigation in ssr-tests-v9 (microsoft#25844) fix: Cell actions should have correct background when row focused within (microsoft#25790) applying package updates Disable 3 Avatar Converged active stories (microsoft#25765) chore: introduce TS path aliases for improved DX in v8 (microsoft#25778) chore: prepare release react-northstar 0.65.0 (microsoft#25446) refactor(scripts): encapsulate v0 and v8 tooling within its domain boundaries (microsoft#25738) Support single point in area chart (microsoft#25842) chore: enable isolateModules in all v8 packages (microsoft#25774) chore: refactor styles for Button (microsoft#25216) feat: Improve docs for `DataGrid`, export as unstable (microsoft#25805) applying package updates fix: Allow data-selection-disabled to be respected by DetailsRow (microsoft#25836) docs(rfcs): Update recipes rfc with chosen option and add more details (microsoft#25823) chore(react-textarea): migrate to new package structure (microsoft#25820) chore(react-switch): migrate to new package structure (microsoft#25819) fix(react-avatar): AvatarGroup's pie layout places inline items correctly in rtl (microsoft#25822) chore: add few improvements to toolbar stories (microsoft#25635)
* BREAKING: `useTable` renamed to `useTableFeatures` In order to avoid future conflict with the component hook `useTable_unstable`. The headless state `useTable` hook has been renamed to `useTableFeatures`. * changefiles * rename `useSelection` and `useSort` hooks * update changefiles
In order to avoid future naming conflicts hooks have been renamed to be more specific to the
TablecomponentuseSelection->useTableSelectionuseSort->useTableSortuseTable->useTableFeatures(to avoid conflict withuseTable_unstable)Previous Behavior
New Behavior