├── .gitignore ├── .prettierrc ├── README.md ├── eslint.config.js ├── package.json ├── pnpm-lock.yaml ├── src ├── __tests__ │ └── context.test.tsx ├── create-context.tsx ├── hooks.ts ├── index.ts ├── test │ ├── setup.ts │ └── vitest.d.ts ├── types.ts └── utils.ts ├── tsconfig.json ├── tsup.config.ts └── vitest.config.ts /.gitignore: -------------------------------------------------------------------------------- 1 | dist/ 2 | node_modules/ 3 | .DS_Store -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tigerabrodi/react-context-selector/HEAD/.prettierrc -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tigerabrodi/react-context-selector/HEAD/README.md -------------------------------------------------------------------------------- /eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tigerabrodi/react-context-selector/HEAD/eslint.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tigerabrodi/react-context-selector/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tigerabrodi/react-context-selector/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /src/__tests__/context.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tigerabrodi/react-context-selector/HEAD/src/__tests__/context.test.tsx -------------------------------------------------------------------------------- /src/create-context.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tigerabrodi/react-context-selector/HEAD/src/create-context.tsx -------------------------------------------------------------------------------- /src/hooks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tigerabrodi/react-context-selector/HEAD/src/hooks.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tigerabrodi/react-context-selector/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/test/setup.ts: -------------------------------------------------------------------------------- 1 | import '@testing-library/jest-dom' 2 | -------------------------------------------------------------------------------- /src/test/vitest.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tigerabrodi/react-context-selector/HEAD/src/types.ts -------------------------------------------------------------------------------- /src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tigerabrodi/react-context-selector/HEAD/src/utils.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tigerabrodi/react-context-selector/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsup.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tigerabrodi/react-context-selector/HEAD/tsup.config.ts -------------------------------------------------------------------------------- /vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tigerabrodi/react-context-selector/HEAD/vitest.config.ts --------------------------------------------------------------------------------