You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The client-side routing integration described here doesn't account for the frameworks' <Link /> component's props.
For example, in Remix, the <Link /> component accepts a prefetch prop. This prop isn't accepted in React Aria's <Link /> component, preventing components created with <Link /> from prefetching. Likewise for other props.
🤔 Expected Behavior?
React Aria's <Link /> would merge the framework's <Link />'s props.
This <Link /> component merges both React Aria's and Remix's <Link />'s prop types, but <ReactAriaLink /> still doesn't pass Remix's <Link />'s props themselves.
Provide a general summary of the issue here
The client-side routing integration described here doesn't account for the frameworks'
<Link />
component's props.For example, in Remix, the
<Link />
component accepts aprefetch
prop. This prop isn't accepted in React Aria's<Link />
component, preventing components created with<Link />
from prefetching. Likewise for other props.🤔 Expected Behavior?
React Aria's
<Link />
would merge the framework's<Link />
's props.😯 Current Behavior
React Aria's
<Link />
doesn't accept (or pass) the framework's<Link />
's props.💁 Possible Solution
Radix UI does this with the
<Slot />
component.🔦 Context
I'm trying to build a
<Link />
component for my upcoming UI library.🖥️ Steps to Reproduce
Here's an example
<Link />
component adapted for Remix.This
<Link />
component merges both React Aria's and Remix's<Link />
's prop types, but<ReactAriaLink />
still doesn't pass Remix's<Link />
's props themselves.Version
1.0.1
What browsers are you seeing the problem on?
Chrome
If other, please specify.
No response
What operating system are you using?
macOS Sonoma 14.1.1
🧢 Your Company/Team
https://verveui.pro/
🕷 Tracking Issue
No response
The text was updated successfully, but these errors were encountered: