Skip to content
Permalink
Browse files

Move relay-experimental to fbsource

Reviewed By: josephsavona

Differential Revision: D16857008

fbshipit-source-id: cd5881f50fb8baca544de9edeff0ad86395004c9
  • Loading branch information...
jstejada authored and facebook-github-bot committed Sep 3, 2019
1 parent 0e40438 commit b83aace7a95f5fd82cbb30d1f6888bcc4767eeb5
Showing with 23,442 additions and 22 deletions.
  1. +19 −1 flow-typed/fbjs.js.flow
  2. +454 −0 packages/relay-experimental/FragmentResource.js
  3. +24 −0 packages/relay-experimental/InternalLogger.js
  4. +98 −0 packages/relay-experimental/LRUCache.js
  5. +156 −0 packages/relay-experimental/MatchContainer.js
  6. +32 −0 packages/relay-experimental/ProfilerContext.js
  7. +539 −0 packages/relay-experimental/QueryResource.js
  8. +39 −0 packages/relay-experimental/RelayEnvironmentProvider.js
  9. +88 −0 packages/relay-experimental/__flowtests__/useBlockingPaginationFragment-flowtest.js
  10. +47 −0 packages/relay-experimental/__flowtests__/useFragment-flowtest.js
  11. +91 −0 packages/relay-experimental/__flowtests__/useLegacyPaginationFragment-flowtest.js
  12. +84 −0 packages/relay-experimental/__flowtests__/useRefetchableFragment-flowtest.js
  13. +81 −0 packages/relay-experimental/__flowtests__/utils.js
  14. +426 −0 packages/relay-experimental/__tests__/FragmentResource-WithOperationTracker-test.js
  15. +1,293 −0 packages/relay-experimental/__tests__/FragmentResource-test.js
  16. +76 −0 packages/relay-experimental/__tests__/LRUCache-test.js
  17. +459 −0 packages/relay-experimental/__tests__/MatchContainer-test.js
  18. +2,281 −0 packages/relay-experimental/__tests__/QueryResource-test.js
  19. +133 −0 packages/relay-experimental/__tests__/__snapshots__/MatchContainer-test.js.snap
  20. +165 −0 packages/relay-experimental/__tests__/fetchQuery-test.js
  21. +267 −0 packages/relay-experimental/__tests__/getPaginationVariables-test.js
  22. +3,644 −0 packages/relay-experimental/__tests__/useBlockingPaginationFragment-test.js
  23. +1,305 −0 packages/relay-experimental/__tests__/useBlockingPaginationFragment-with-suspense-transition-test.js
  24. +266 −0 packages/relay-experimental/__tests__/useFragment-test.js
  25. +1,570 −0 packages/relay-experimental/__tests__/useFragmentNodes-test.js
  26. +414 −0 packages/relay-experimental/__tests__/useIsParentQueryInFlight-test.js
  27. +3,252 −0 packages/relay-experimental/__tests__/useLegacyPaginationFragment-test.js
  28. +221 −0 packages/relay-experimental/__tests__/useQueryNode-test.js
  29. +213 −0 packages/relay-experimental/__tests__/useRefetchableFragment-test.js
  30. +2,986 −0 packages/relay-experimental/__tests__/useRefetchableFragmentNode-test.js
  31. +49 −0 packages/relay-experimental/__tests__/useStaticPropWarning-test.js
  32. +125 −0 packages/relay-experimental/fetchQuery.js
  33. +67 −0 packages/relay-experimental/getPaginationMetadata.js
  34. +73 −0 packages/relay-experimental/getPaginationVariables.js
  35. +61 −0 packages/relay-experimental/getRefetchMetadata.js
  36. +43 −0 packages/relay-experimental/getValueAtPath.js
  37. +42 −0 packages/relay-experimental/index.js
  38. +24 −0 packages/relay-experimental/package.json
  39. +272 −0 packages/relay-experimental/useBlockingPaginationFragment.js
  40. +67 −0 packages/relay-experimental/useFetchTrackingRef.js
  41. +63 −0 packages/relay-experimental/useFragment.js
  42. +51 −0 packages/relay-experimental/useFragmentNode.js
  43. +228 −0 packages/relay-experimental/useFragmentNodes.js
  44. +27 −0 packages/relay-experimental/useIsMountedRef.js
  45. +75 −0 packages/relay-experimental/useIsParentQueryInFlight.js
  46. +162 −0 packages/relay-experimental/useLegacyPaginationFragment.js
  47. +333 −0 packages/relay-experimental/useLoadMoreFunction.js
  48. +38 −0 packages/relay-experimental/useMemoOperationDescriptor.js
  49. +51 −0 packages/relay-experimental/useMemoVariables.js
  50. +42 −0 packages/relay-experimental/useQuery.js
  51. +87 −0 packages/relay-experimental/useQueryNode.js
  52. +52 −0 packages/relay-experimental/useRefetchableFragment.js
  53. +613 −0 packages/relay-experimental/useRefetchableFragmentNode.js
  54. +35 −0 packages/relay-experimental/useRelayEnvironment.js
  55. +36 −0 packages/relay-experimental/useStaticPropWarning.js
  56. +2 −0 packages/relay-runtime/index.js
  57. +1 −21 packages/relay-runtime/store/RelayModernEnvironment.js
@@ -4,4 +4,22 @@ declare module 'mapObject' {

declare module 'ErrorUtils' {
declare module.exports: any;
}
}

declare module 'warning' {
declare module.exports: (
condition: boolean,
format: string,
...args: $ReadOnlyArray<mixed>
) => void;
}

declare module 'fbjs/lib/ExecutionEnvironment' {
declare module.exports: {
canUseDOM: boolean,
};
}

declare module 'react-test-renderer' {
declare module.exports: any;
}

1 comment on commit b83aace

@chuckGonzalez

This comment has been minimized.

Copy link

chuckGonzalez commented on b83aace Oct 1, 2019

Hi @jstejada, Do you have a release date for hooks?
Regards

Please sign in to comment.
You can’t perform that action at this time.