├── .babelrc ├── .circleci └── config.yml ├── .github ├── FUNDING.yml ├── repo-banner.png └── stale.yml ├── .gitignore ├── .npmignore ├── LICENSE ├── README.md ├── example ├── .gitignore ├── App.js ├── index.css ├── index.html ├── index.js ├── package.json ├── vendor │ └── react-cache │ │ ├── LICENSE │ │ ├── README.md │ │ ├── index.js │ │ ├── package.json │ │ ├── react-cache.development.js │ │ ├── react-cache.production.min.js │ │ └── yarn.lock └── yarn.lock ├── package.json ├── src ├── Audio.tsx ├── Img.tsx ├── Preload.tsx ├── Script.tsx ├── Stylesheet.tsx ├── Video.tsx ├── createResource.tsx ├── index.tsx ├── useDeviceMotion.tsx ├── useDeviceOrientation.tsx ├── useGeoPosition.tsx ├── useIntersectionObserver.tsx ├── useMedia.tsx ├── useNetworkStatus.tsx ├── useWindowScrollPosition.tsx ├── useWindowSize.tsx └── utils.tsx ├── tests ├── jest.setup.js ├── useWindowScrollPosition.test.js └── useWindowSize.test.js ├── tsconfig.json ├── tslint.json ├── typings ├── json2mq.d.ts └── react-cache.d.ts └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/.babelrc -------------------------------------------------------------------------------- /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: [jaredpalmer] 4 | -------------------------------------------------------------------------------- /.github/repo-banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/.github/repo-banner.png -------------------------------------------------------------------------------- /.github/stale.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/.github/stale.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/.npmignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/README.md -------------------------------------------------------------------------------- /example/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/example/.gitignore -------------------------------------------------------------------------------- /example/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/example/App.js -------------------------------------------------------------------------------- /example/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/example/index.css -------------------------------------------------------------------------------- /example/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/example/index.html -------------------------------------------------------------------------------- /example/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/example/index.js -------------------------------------------------------------------------------- /example/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/example/package.json -------------------------------------------------------------------------------- /example/vendor/react-cache/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/example/vendor/react-cache/LICENSE -------------------------------------------------------------------------------- /example/vendor/react-cache/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/example/vendor/react-cache/README.md -------------------------------------------------------------------------------- /example/vendor/react-cache/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/example/vendor/react-cache/index.js -------------------------------------------------------------------------------- /example/vendor/react-cache/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/example/vendor/react-cache/package.json -------------------------------------------------------------------------------- /example/vendor/react-cache/react-cache.development.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/example/vendor/react-cache/react-cache.development.js -------------------------------------------------------------------------------- /example/vendor/react-cache/react-cache.production.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/example/vendor/react-cache/react-cache.production.min.js -------------------------------------------------------------------------------- /example/vendor/react-cache/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/example/vendor/react-cache/yarn.lock -------------------------------------------------------------------------------- /example/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/example/yarn.lock -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/package.json -------------------------------------------------------------------------------- /src/Audio.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/src/Audio.tsx -------------------------------------------------------------------------------- /src/Img.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/src/Img.tsx -------------------------------------------------------------------------------- /src/Preload.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/src/Preload.tsx -------------------------------------------------------------------------------- /src/Script.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/src/Script.tsx -------------------------------------------------------------------------------- /src/Stylesheet.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/src/Stylesheet.tsx -------------------------------------------------------------------------------- /src/Video.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/src/Video.tsx -------------------------------------------------------------------------------- /src/createResource.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/src/createResource.tsx -------------------------------------------------------------------------------- /src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/src/index.tsx -------------------------------------------------------------------------------- /src/useDeviceMotion.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/src/useDeviceMotion.tsx -------------------------------------------------------------------------------- /src/useDeviceOrientation.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/src/useDeviceOrientation.tsx -------------------------------------------------------------------------------- /src/useGeoPosition.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/src/useGeoPosition.tsx -------------------------------------------------------------------------------- /src/useIntersectionObserver.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/src/useIntersectionObserver.tsx -------------------------------------------------------------------------------- /src/useMedia.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/src/useMedia.tsx -------------------------------------------------------------------------------- /src/useNetworkStatus.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/src/useNetworkStatus.tsx -------------------------------------------------------------------------------- /src/useWindowScrollPosition.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/src/useWindowScrollPosition.tsx -------------------------------------------------------------------------------- /src/useWindowSize.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/src/useWindowSize.tsx -------------------------------------------------------------------------------- /src/utils.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/src/utils.tsx -------------------------------------------------------------------------------- /tests/jest.setup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/tests/jest.setup.js -------------------------------------------------------------------------------- /tests/useWindowScrollPosition.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/tests/useWindowScrollPosition.test.js -------------------------------------------------------------------------------- /tests/useWindowSize.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/tests/useWindowSize.test.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "tslint-config-palmerhq" 3 | } 4 | -------------------------------------------------------------------------------- /typings/json2mq.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/typings/json2mq.d.ts -------------------------------------------------------------------------------- /typings/react-cache.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/typings/react-cache.d.ts -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/the-platform/HEAD/yarn.lock --------------------------------------------------------------------------------