Describe the bug
Remix v2 has deprecated useTransition in favor of useNavigation as documented here: https://remix.run/docs/en/2.0.0/start/v2#usetransition
After upgrading to Remix v2, the following error occurs:
X [ERROR] No matching export in "node_modules/@remix-run/react/dist/esm/index.js" for import "useTransition"
node_modules/remix-utils/browser/react/use-global-pending-state.js:1:9:
1 │ import { useTransition, useFetchers } from "@remix-run/react";
Your Example Website or App
https://github.com/jgentes/mixpoint
Steps to Reproduce the Bug or Issue
Go to package.json, update all remix dependencies to "2.0.0" and run "yarn", then "yarn dev"
Expected behavior
Probably ought to update remix-utils to the latest version of Remix
Screenshots or Videos
No response
Platform
Windows, edge
Additional context
No response
Describe the bug
Remix v2 has deprecated
useTransitionin favor ofuseNavigationas documented here: https://remix.run/docs/en/2.0.0/start/v2#usetransitionAfter upgrading to Remix v2, the following error occurs:
Your Example Website or App
https://github.com/jgentes/mixpoint
Steps to Reproduce the Bug or Issue
Go to package.json, update all remix dependencies to "2.0.0" and run "yarn", then "yarn dev"
Expected behavior
Probably ought to update
remix-utilsto the latest version of RemixScreenshots or Videos
No response
Platform
Windows, edge
Additional context
No response