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
However, in React 19 RC, the type definition has been extended to allow for executing ServerActions.
// in `@types/react`formAction?:
|string|DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS[keyofDO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS]|undefined;
When using React Aria in Next.js, this difference creates an issue. How are people handling this? Will React Aria update this when React 19 is officially released?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The formAction in React Aria’s ButtonProps is typed as a string.
React Aria Button.tsx Code
However, in React 19 RC, the type definition has been extended to allow for executing ServerActions.
When using React Aria in Next.js, this difference creates an issue. How are people handling this? Will React Aria update this when React 19 is officially released?
Beta Was this translation helpful? Give feedback.
All reactions