├── .babelrc ├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── config └── buildPreset.js ├── docs ├── ConfigSwitch.md ├── OnUpdate.md ├── README.md ├── Scrolling.md ├── Status.md ├── whenActive.md └── wrapSwitch.md ├── package.json ├── src ├── ConfigSwitch.js ├── OnUpdate.js ├── ScrollIntoView.js ├── Status.js ├── __tests__ │ ├── ConfigSwitch.spec.js │ ├── OnUpdate.spec.js │ ├── ScrollIntoView.spec.js │ ├── Status.spec.js │ ├── whenActive.spec.js │ ├── withScroll.spec.js │ └── wrapSwitch.spec.js ├── helpers │ ├── getDisplayName.js │ ├── makeInjectable.js │ └── matchRoutes.js ├── index.js ├── whenActive.js ├── withScroll.js └── wrapSwitch.js └── webpack.config.js /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pshrmn/rrc/HEAD/.babelrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | lib 3 | umd 4 | es 5 | *.log 6 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pshrmn/rrc/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pshrmn/rrc/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pshrmn/rrc/HEAD/README.md -------------------------------------------------------------------------------- /config/buildPreset.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pshrmn/rrc/HEAD/config/buildPreset.js -------------------------------------------------------------------------------- /docs/ConfigSwitch.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pshrmn/rrc/HEAD/docs/ConfigSwitch.md -------------------------------------------------------------------------------- /docs/OnUpdate.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pshrmn/rrc/HEAD/docs/OnUpdate.md -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pshrmn/rrc/HEAD/docs/README.md -------------------------------------------------------------------------------- /docs/Scrolling.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pshrmn/rrc/HEAD/docs/Scrolling.md -------------------------------------------------------------------------------- /docs/Status.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pshrmn/rrc/HEAD/docs/Status.md -------------------------------------------------------------------------------- /docs/whenActive.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pshrmn/rrc/HEAD/docs/whenActive.md -------------------------------------------------------------------------------- /docs/wrapSwitch.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pshrmn/rrc/HEAD/docs/wrapSwitch.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pshrmn/rrc/HEAD/package.json -------------------------------------------------------------------------------- /src/ConfigSwitch.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pshrmn/rrc/HEAD/src/ConfigSwitch.js -------------------------------------------------------------------------------- /src/OnUpdate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pshrmn/rrc/HEAD/src/OnUpdate.js -------------------------------------------------------------------------------- /src/ScrollIntoView.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pshrmn/rrc/HEAD/src/ScrollIntoView.js -------------------------------------------------------------------------------- /src/Status.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pshrmn/rrc/HEAD/src/Status.js -------------------------------------------------------------------------------- /src/__tests__/ConfigSwitch.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pshrmn/rrc/HEAD/src/__tests__/ConfigSwitch.spec.js -------------------------------------------------------------------------------- /src/__tests__/OnUpdate.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pshrmn/rrc/HEAD/src/__tests__/OnUpdate.spec.js -------------------------------------------------------------------------------- /src/__tests__/ScrollIntoView.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pshrmn/rrc/HEAD/src/__tests__/ScrollIntoView.spec.js -------------------------------------------------------------------------------- /src/__tests__/Status.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pshrmn/rrc/HEAD/src/__tests__/Status.spec.js -------------------------------------------------------------------------------- /src/__tests__/whenActive.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pshrmn/rrc/HEAD/src/__tests__/whenActive.spec.js -------------------------------------------------------------------------------- /src/__tests__/withScroll.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pshrmn/rrc/HEAD/src/__tests__/withScroll.spec.js -------------------------------------------------------------------------------- /src/__tests__/wrapSwitch.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pshrmn/rrc/HEAD/src/__tests__/wrapSwitch.spec.js -------------------------------------------------------------------------------- /src/helpers/getDisplayName.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pshrmn/rrc/HEAD/src/helpers/getDisplayName.js -------------------------------------------------------------------------------- /src/helpers/makeInjectable.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pshrmn/rrc/HEAD/src/helpers/makeInjectable.js -------------------------------------------------------------------------------- /src/helpers/matchRoutes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pshrmn/rrc/HEAD/src/helpers/matchRoutes.js -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pshrmn/rrc/HEAD/src/index.js -------------------------------------------------------------------------------- /src/whenActive.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pshrmn/rrc/HEAD/src/whenActive.js -------------------------------------------------------------------------------- /src/withScroll.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pshrmn/rrc/HEAD/src/withScroll.js -------------------------------------------------------------------------------- /src/wrapSwitch.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pshrmn/rrc/HEAD/src/wrapSwitch.js -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pshrmn/rrc/HEAD/webpack.config.js --------------------------------------------------------------------------------