Skip to content

Commit

Permalink
Add @deprecated to jsdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
brophdawg11 committed Mar 7, 2023
1 parent ca4797e commit ace1363
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/remix-react/components.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1174,6 +1174,8 @@ export function useActionData<T = AppData>(): SerializeFrom<T> | undefined {
* Returns everything you need to know about a page transition to build pending
* navigation indicators and optimistic UI on data mutations.
*
* @deprecated in favor of useNavigation
*
* @see https://remix.run/hooks/use-transition
*/
export function useTransition(): Transition {
Expand Down

0 comments on commit ace1363

Please sign in to comment.