Skip to content

Commit

Permalink
Fully resolve use-sync-external-store/shim module identifier.
Browse files Browse the repository at this point in the history
This seems to make some bundlers in some configurations happier, e.g.
https://github.com/apollographql/react-apollo-error-template/
  • Loading branch information
benjamn committed Apr 14, 2022
1 parent 866936e commit 8788e6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/react/hooks/useQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
useRef,
useState,
} from 'react';
import { useSyncExternalStore } from 'use-sync-external-store/shim';
import { useSyncExternalStore } from 'use-sync-external-store/shim/index.js';
import { equal } from '@wry/equality';

import { mergeOptions, OperationVariables } from '../../core';
Expand Down

1 comment on commit 8788e6c

@benjamn
Copy link
Member Author

@benjamn benjamn commented on 8788e6c May 9, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This broke React Native, unfortunately: #9668 (comment)

Please sign in to comment.