Skip to content

fix(react-link): remove inline prop from base hook - #36542

Merged
Victor Genaev (mainframev) merged 1 commit into
masterfrom
mainframev/link-inline-base-hook
Aug 10, 2026
Merged

fix(react-link): remove inline prop from base hook#36542
Victor Genaev (mainframev) merged 1 commit into
masterfrom
mainframev/link-inline-base-hook

Conversation

@mainframev

Copy link
Copy Markdown
Contributor

Removes leaked styled related inline prop

Previous Behavior

inline was handled by the Link base hook, leaking a presentation-only prop into the headless Link API

New Behavior

  • Moves inline handling from the base hook to the styled Link hook
  • Removes inline from the headless Link API and examples
  • Keeps headless inline presentation controlled by consumer styles

@github-actions

github-actions Bot commented Aug 9, 2026

Copy link
Copy Markdown

📊 Bundle size report

Package & Exports Baseline (minified/GZIP) PR Change
react-components
react-components: entire library
1.296 MB
326.595 kB
1.296 MB
326.588 kB
-3 B
-7 B
react-headless-components-preview
react-headless-components-preview: entire library
251.816 kB
73.264 kB
251.701 kB
73.226 kB
-115 B
-38 B
react-link
Link
15.262 kB
6.039 kB
15.259 kB
6.031 kB
-3 B
-8 B
Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-breadcrumb
@fluentui/react-breadcrumb - package
103.012 kB
28.827 kB
react-components
react-components: Button, FluentProvider & webLightTheme
66.297 kB
19.006 kB
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
226.106 kB
68.067 kB
react-components
react-components: FluentProvider & webLightTheme
39.52 kB
13.116 kB
react-headless-components-preview
@fluentui/react-headless-components-preview/tag-picker
62.147 kB
20.587 kB
react-headless-components-preview
@fluentui/react-headless-components-preview/teaching-popover
35.416 kB
11.745 kB
react-message-bar
MessageBar (all components)
24.114 kB
8.524 kB
react-portal-compat
PortalCompatProvider
5.341 kB
2.146 kB
react-timepicker-compat
TimePicker
140.991 kB
46.069 kB
🤖 This report was generated against 141feed5e8c03581e4d49c65f476b7858786854f

@github-actions

github-actions Bot commented Aug 9, 2026

Copy link
Copy Markdown

Pull request demo site: URL

@Hotell Martin Hochel (Hotell) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

left some comments/questions

Comment thread packages/react-components/react-link/library/etc/react-link.api.md
@mainframev
Victor Genaev (mainframev) force-pushed the mainframev/link-inline-base-hook branch from 7b25ef2 to b5b3207 Compare August 10, 2026 09:31
@mainframev
Victor Genaev (mainframev) merged commit c83bfa7 into master Aug 10, 2026
19 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants