Skip to content

Commit 46391fb

Browse files
committed
Update comment
1 parent f852225 commit 46391fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/react-router/lib/components.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ import { warnOnce } from "./server-runtime/warnings";
7777
import type { unstable_ClientInstrumentation } from "./router/instrumentation";
7878

7979
/**
80-
* Webpack can fail to compile on against react versions without this export -
81-
* it complains that `startTransition` doesn't exist in `React`.
80+
* Webpack can fail to compile against react versions without this export -
81+
* it complains that `useOptimistic` doesn't exist in `React`.
8282
*
8383
* Using the string constant directly at runtime fixes the webpack build issue
8484
* but can result in terser stripping the actual call at minification time.

0 commit comments

Comments
 (0)