├── .eslintrc.js ├── .gitignore ├── .husky └── pre-commit ├── .npmignore ├── .nvmrc ├── .size.json ├── .travis.yml ├── LICENSE ├── README.md ├── __tests__ ├── __snapshots__ │ ├── hooks.spec.tsx.snap │ ├── index.spec.tsx.snap │ └── strict-mode.spec.tsx.snap ├── hooks.spec.tsx ├── index.spec.tsx └── strict-mode.spec.tsx ├── example ├── app.tsx ├── index.html └── index.tsx ├── jest.config.js ├── package.json ├── src ├── Control.tsx ├── UIDComponent.ts ├── context.ts ├── hooks.ts ├── index.ts └── uid.ts ├── tsconfig.json └── yarn.lock /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thearnica/react-uid/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thearnica/react-uid/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | lint-staged 5 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | .babelrc 2 | assets 3 | ___tests___ 4 | example -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | 20.11.0 -------------------------------------------------------------------------------- /.size.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thearnica/react-uid/HEAD/.size.json -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thearnica/react-uid/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thearnica/react-uid/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thearnica/react-uid/HEAD/README.md -------------------------------------------------------------------------------- /__tests__/__snapshots__/hooks.spec.tsx.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thearnica/react-uid/HEAD/__tests__/__snapshots__/hooks.spec.tsx.snap -------------------------------------------------------------------------------- /__tests__/__snapshots__/index.spec.tsx.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thearnica/react-uid/HEAD/__tests__/__snapshots__/index.spec.tsx.snap -------------------------------------------------------------------------------- /__tests__/__snapshots__/strict-mode.spec.tsx.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thearnica/react-uid/HEAD/__tests__/__snapshots__/strict-mode.spec.tsx.snap -------------------------------------------------------------------------------- /__tests__/hooks.spec.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thearnica/react-uid/HEAD/__tests__/hooks.spec.tsx -------------------------------------------------------------------------------- /__tests__/index.spec.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thearnica/react-uid/HEAD/__tests__/index.spec.tsx -------------------------------------------------------------------------------- /__tests__/strict-mode.spec.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thearnica/react-uid/HEAD/__tests__/strict-mode.spec.tsx -------------------------------------------------------------------------------- /example/app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thearnica/react-uid/HEAD/example/app.tsx -------------------------------------------------------------------------------- /example/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thearnica/react-uid/HEAD/example/index.html -------------------------------------------------------------------------------- /example/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thearnica/react-uid/HEAD/example/index.tsx -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | preset: 'ts-jest', 3 | }; 4 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thearnica/react-uid/HEAD/package.json -------------------------------------------------------------------------------- /src/Control.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thearnica/react-uid/HEAD/src/Control.tsx -------------------------------------------------------------------------------- /src/UIDComponent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thearnica/react-uid/HEAD/src/UIDComponent.ts -------------------------------------------------------------------------------- /src/context.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thearnica/react-uid/HEAD/src/context.ts -------------------------------------------------------------------------------- /src/hooks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thearnica/react-uid/HEAD/src/hooks.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thearnica/react-uid/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/uid.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thearnica/react-uid/HEAD/src/uid.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thearnica/react-uid/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thearnica/react-uid/HEAD/yarn.lock --------------------------------------------------------------------------------