Skip to content
Source
Sign inSign up
TanStack/router
Open History to see the last commit

reactSymbols.ts

6 lines404 Bytes

1// Inline React 19 internal $$typeof symbols to avoid depending on `react-is`.
2// `react-is` is CJS-only, causing module resolution failures in strict pnpm
3// setups where it can't be resolved from the consumer's node_modules.
4export const ReactElement = Symbol.for('react.transitional.element')
5export const ReactLazy = Symbol.for('react.lazy')
6export const ReactSuspense = Symbol.for('react.suspense')