├── .all-contributorsrc ├── .github ├── FUNDING.yml └── stale.yml ├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── docs ├── api.md ├── how-it-works.md └── installation.md ├── package.json ├── rollup.config.js ├── src ├── DeviceMotion │ ├── DeviceMotion.tsx │ ├── index.tsx │ └── withDeviceMotion.tsx ├── DeviceOrientation │ ├── DeviceOrientation.tsx │ ├── index.tsx │ └── withDeviceOrientation.tsx ├── GeoPosition │ ├── GeoPosition.tsx │ ├── index.tsx │ └── withGeoPosition.tsx ├── Locales │ ├── Locales.tsx │ ├── index.tsx │ └── withLocales.tsx ├── Mailto.tsx ├── Media │ ├── Media.tsx │ └── index.tsx ├── Network │ ├── Network.tsx │ ├── __tests__ │ │ ├── Network.test.tsx │ │ └── withNetwork.test.tsx │ ├── index.tsx │ └── withNetwork.tsx ├── ReducerComponent.tsx ├── Scroll │ ├── Scroll.tsx │ ├── __tests__ │ │ ├── Scroll.test.tsx │ │ └── withScroll.test.tsx │ ├── index.tsx │ └── withScroll.tsx ├── Sms.tsx ├── WindowSize │ ├── WindowSize.tsx │ ├── __tests__ │ │ ├── WindowSize.test.tsx │ │ └── withWindowSize.test.tsx │ ├── index.tsx │ └── withWindowSize.tsx ├── hoistStatics.tsx ├── index.tsx ├── types.tsx └── utils │ ├── debounce.ts │ ├── featureDetection.ts │ ├── index.tsx │ ├── isEmptyChildren.tsx │ └── throttle.ts ├── tsconfig.json ├── website ├── core │ └── Footer.js ├── deploy.js ├── i18n │ └── en.json ├── languages.js ├── package.json ├── pages │ └── en │ │ ├── help-with-translations.js │ │ └── index.js ├── sidebars.json ├── siteConfig.js └── static │ ├── circle.yml │ ├── css │ ├── custom.css │ └── reason.css │ ├── img │ ├── reason-react-red.svg │ └── reason-react-white.svg │ └── js │ ├── pjax-api.js │ ├── redirect.js │ ├── redirectBlog.js │ └── redirectIndex.js └── yarn.lock /.all-contributorsrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/.all-contributorsrc -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: [jaredpalmer] 4 | -------------------------------------------------------------------------------- /.github/stale.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/.github/stale.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/README.md -------------------------------------------------------------------------------- /docs/api.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/docs/api.md -------------------------------------------------------------------------------- /docs/how-it-works.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/docs/how-it-works.md -------------------------------------------------------------------------------- /docs/installation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/docs/installation.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/package.json -------------------------------------------------------------------------------- /rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/rollup.config.js -------------------------------------------------------------------------------- /src/DeviceMotion/DeviceMotion.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/src/DeviceMotion/DeviceMotion.tsx -------------------------------------------------------------------------------- /src/DeviceMotion/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/src/DeviceMotion/index.tsx -------------------------------------------------------------------------------- /src/DeviceMotion/withDeviceMotion.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/src/DeviceMotion/withDeviceMotion.tsx -------------------------------------------------------------------------------- /src/DeviceOrientation/DeviceOrientation.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/src/DeviceOrientation/DeviceOrientation.tsx -------------------------------------------------------------------------------- /src/DeviceOrientation/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/src/DeviceOrientation/index.tsx -------------------------------------------------------------------------------- /src/DeviceOrientation/withDeviceOrientation.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/src/DeviceOrientation/withDeviceOrientation.tsx -------------------------------------------------------------------------------- /src/GeoPosition/GeoPosition.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/src/GeoPosition/GeoPosition.tsx -------------------------------------------------------------------------------- /src/GeoPosition/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/src/GeoPosition/index.tsx -------------------------------------------------------------------------------- /src/GeoPosition/withGeoPosition.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/src/GeoPosition/withGeoPosition.tsx -------------------------------------------------------------------------------- /src/Locales/Locales.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/src/Locales/Locales.tsx -------------------------------------------------------------------------------- /src/Locales/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/src/Locales/index.tsx -------------------------------------------------------------------------------- /src/Locales/withLocales.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/src/Locales/withLocales.tsx -------------------------------------------------------------------------------- /src/Mailto.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/src/Mailto.tsx -------------------------------------------------------------------------------- /src/Media/Media.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/src/Media/Media.tsx -------------------------------------------------------------------------------- /src/Media/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/src/Media/index.tsx -------------------------------------------------------------------------------- /src/Network/Network.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/src/Network/Network.tsx -------------------------------------------------------------------------------- /src/Network/__tests__/Network.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/src/Network/__tests__/Network.test.tsx -------------------------------------------------------------------------------- /src/Network/__tests__/withNetwork.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/src/Network/__tests__/withNetwork.test.tsx -------------------------------------------------------------------------------- /src/Network/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/src/Network/index.tsx -------------------------------------------------------------------------------- /src/Network/withNetwork.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/src/Network/withNetwork.tsx -------------------------------------------------------------------------------- /src/ReducerComponent.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/src/ReducerComponent.tsx -------------------------------------------------------------------------------- /src/Scroll/Scroll.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/src/Scroll/Scroll.tsx -------------------------------------------------------------------------------- /src/Scroll/__tests__/Scroll.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/src/Scroll/__tests__/Scroll.test.tsx -------------------------------------------------------------------------------- /src/Scroll/__tests__/withScroll.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/src/Scroll/__tests__/withScroll.test.tsx -------------------------------------------------------------------------------- /src/Scroll/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/src/Scroll/index.tsx -------------------------------------------------------------------------------- /src/Scroll/withScroll.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/src/Scroll/withScroll.tsx -------------------------------------------------------------------------------- /src/Sms.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/src/Sms.tsx -------------------------------------------------------------------------------- /src/WindowSize/WindowSize.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/src/WindowSize/WindowSize.tsx -------------------------------------------------------------------------------- /src/WindowSize/__tests__/WindowSize.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/src/WindowSize/__tests__/WindowSize.test.tsx -------------------------------------------------------------------------------- /src/WindowSize/__tests__/withWindowSize.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/src/WindowSize/__tests__/withWindowSize.test.tsx -------------------------------------------------------------------------------- /src/WindowSize/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/src/WindowSize/index.tsx -------------------------------------------------------------------------------- /src/WindowSize/withWindowSize.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/src/WindowSize/withWindowSize.tsx -------------------------------------------------------------------------------- /src/hoistStatics.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/src/hoistStatics.tsx -------------------------------------------------------------------------------- /src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/src/index.tsx -------------------------------------------------------------------------------- /src/types.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/src/types.tsx -------------------------------------------------------------------------------- /src/utils/debounce.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/src/utils/debounce.ts -------------------------------------------------------------------------------- /src/utils/featureDetection.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/src/utils/featureDetection.ts -------------------------------------------------------------------------------- /src/utils/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/src/utils/index.tsx -------------------------------------------------------------------------------- /src/utils/isEmptyChildren.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/src/utils/isEmptyChildren.tsx -------------------------------------------------------------------------------- /src/utils/throttle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/src/utils/throttle.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/tsconfig.json -------------------------------------------------------------------------------- /website/core/Footer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/website/core/Footer.js -------------------------------------------------------------------------------- /website/deploy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/website/deploy.js -------------------------------------------------------------------------------- /website/i18n/en.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/website/i18n/en.json -------------------------------------------------------------------------------- /website/languages.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/website/languages.js -------------------------------------------------------------------------------- /website/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/website/package.json -------------------------------------------------------------------------------- /website/pages/en/help-with-translations.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/website/pages/en/help-with-translations.js -------------------------------------------------------------------------------- /website/pages/en/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/website/pages/en/index.js -------------------------------------------------------------------------------- /website/sidebars.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/website/sidebars.json -------------------------------------------------------------------------------- /website/siteConfig.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/website/siteConfig.js -------------------------------------------------------------------------------- /website/static/circle.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/website/static/circle.yml -------------------------------------------------------------------------------- /website/static/css/custom.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/website/static/css/custom.css -------------------------------------------------------------------------------- /website/static/css/reason.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/website/static/css/reason.css -------------------------------------------------------------------------------- /website/static/img/reason-react-red.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/website/static/img/reason-react-red.svg -------------------------------------------------------------------------------- /website/static/img/reason-react-white.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/website/static/img/reason-react-white.svg -------------------------------------------------------------------------------- /website/static/js/pjax-api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/website/static/js/pjax-api.js -------------------------------------------------------------------------------- /website/static/js/redirect.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/website/static/js/redirect.js -------------------------------------------------------------------------------- /website/static/js/redirectBlog.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/website/static/js/redirectBlog.js -------------------------------------------------------------------------------- /website/static/js/redirectIndex.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/website/static/js/redirectIndex.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jaredpalmer/react-fns/HEAD/yarn.lock --------------------------------------------------------------------------------