use-suspense-query
use-suspense-query copied to clipboard
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=path-parse&package-manager=npm_and_yarn&previous-version=1.0.6&new-version=1.0.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
- Added generic typings so that way the returned result isn't just `any` but is also typed too #1 - Added prettier configuration just to keep things clean :) -...
Should [this line](https://github.com/Fasosnql/use-suspense-query/blob/master/src/decorators/decorateWithPromise.ts#L14) be? ```diff - fetchPolicy: options?.variables || 'cache-first' + fetchPolicy: options?.fetchPolicy || 'cache-first' ```
Currently, data and options have the "any" type. It would be nice to have apollo client like type safety using generics. e.g. ``` useQuery(LEARNING_VIEW_QUERY, options) ```
Hi, thanks for this lib I have this error when trying to run on react-native (0.62.2) ```Error: Unable to resolve module `crypto` from `node_modules/@brainly/use-suspense-query/dist/index.js`: crypto could not be found within...