├── .gitignore ├── .indo.json ├── .prettierrc ├── .vscode └── settings.json ├── README.md ├── package.json ├── pnpm-lock.yaml ├── spec ├── Channel.spec.ts ├── __snapshots__ │ └── Channel.spec.ts.snap ├── type-spec.ts └── useChannel.spec.tsx ├── src ├── Channel.ts ├── index.ts ├── types.ts └── useChannel.ts ├── tsconfig.json └── tslint.json /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | vendor/ 3 | dist/ 4 | -------------------------------------------------------------------------------- /.indo.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alloc/react-ch/HEAD/.prettierrc -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alloc/react-ch/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alloc/react-ch/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alloc/react-ch/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alloc/react-ch/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /spec/Channel.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alloc/react-ch/HEAD/spec/Channel.spec.ts -------------------------------------------------------------------------------- /spec/__snapshots__/Channel.spec.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alloc/react-ch/HEAD/spec/__snapshots__/Channel.spec.ts.snap -------------------------------------------------------------------------------- /spec/type-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alloc/react-ch/HEAD/spec/type-spec.ts -------------------------------------------------------------------------------- /spec/useChannel.spec.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alloc/react-ch/HEAD/spec/useChannel.spec.tsx -------------------------------------------------------------------------------- /src/Channel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alloc/react-ch/HEAD/src/Channel.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alloc/react-ch/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alloc/react-ch/HEAD/src/types.ts -------------------------------------------------------------------------------- /src/useChannel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alloc/react-ch/HEAD/src/useChannel.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alloc/react-ch/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alloc/react-ch/HEAD/tslint.json --------------------------------------------------------------------------------