| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository |
| route-controller | files |
| route-action | disambiguate |
| fetch-nonce | v2:edb7a6e9-0884-d48b-3a36-5b49bc3c962c |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | E44C:3E3C46:1DFE2B:255DC7:6B0A1B0C |
| html-safe-nonce | 5104e8a3eb40ed22620f84630f70d65f0c12fbb55af150034f5da2b1139c2453 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNDRDOjNFM0M0NjoxREZFMkI6MjU1REM3OjZCMEExQjBDIiwidmlzaXRvcl9pZCI6Ijc1NjM2MTg1MzMxMTc2NjQwMTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7c26881e2cfdb87c759bc1ab29aa320f69164492450320524907e460a14f3393 |
| hovercard-subject-tag | repository:242000534 |
| github-keyboard-shortcuts | repository,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | // |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/d1opensource/fairlight |
| twitter:image | https://opengraph.githubassets.com/bc18754d2c95185d4826c41dffae4ea5f4bfb68a781235d3526915a64da620ef/d1opensource/fairlight |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bc18754d2c95185d4826c41dffae4ea5f4bfb68a781235d3526915a64da620ef/d1opensource/fairlight |
| og:image:alt | Illuminate your REST API 💡 with React hooks and a centralized cache. - d1opensource/fairlight |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7c47183a73008933468557b28d2500e2ea7619094b9fe68a81910d76811eeb3c |
| turbo-cache-control | no-cache |
| go-import | github.com/d1opensource/fairlight git https://github.com/d1opensource/fairlight.git |
| octolytics-dimension-user_id | 64920714 |
| octolytics-dimension-user_login | d1opensource |
| octolytics-dimension-repository_id | 242000534 |
| octolytics-dimension-repository_nwo | d1opensource/fairlight |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 242000534 |
| octolytics-dimension-repository_network_root_nwo | d1opensource/fairlight |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 206ca5e2e4c7feca284ad1771fa08530fd32785c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/d1opensource/fairlight#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fd1opensource%2Ffairlight |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fd1opensource%2Ffairlight |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=d1opensource%2Ffairlight |
| Reload | https://github.com/d1opensource/fairlight |
| Reload | https://github.com/d1opensource/fairlight |
| Reload | https://github.com/d1opensource/fairlight |
| d1opensource | https://github.com/d1opensource |
| fairlight | https://github.com/d1opensource/fairlight |
| Code | https://github.com/d1opensource/fairlight |
| Issues8 (8) | https://github.com/d1opensource/fairlight/issues |
| Pull requests4 (4) | https://github.com/d1opensource/fairlight/pulls |
| Actions | https://github.com/d1opensource/fairlight/actions |
| Projects | https://github.com/d1opensource/fairlight/projects |
| Security and quality | https://github.com/d1opensource/fairlight/security |
| Insights | https://github.com/d1opensource/fairlight/insights |
| https://github.com/d1opensource/fairlight |
| fairlight | https://github.com/d1opensource/fairlight |
| Notifications | https://github.com/login?return_to=%2Fd1opensource%2Ffairlight |
| Fork5 (5) | https://github.com/login?return_to=%2Fd1opensource%2Ffairlight |
| Star8 (8) | https://github.com/login?return_to=%2Fd1opensource%2Ffairlight |
| api | https://github.com/topics/api |
| cache | https://github.com/topics/cache |
| data-fetching | https://github.com/topics/data-fetching |
| hook | https://github.com/topics/hook |
| react | https://github.com/topics/react |
| rest | https://github.com/topics/rest |
| stale-while-invalidate | https://github.com/topics/stale-while-invalidate |
| typescript | https://github.com/topics/typescript |
| Readme | https://github.com/d1opensource/fairlight#readme-ov-file |
| MIT license | https://github.com/d1opensource/fairlight#MIT-1-ov-file |
| Activity | https://github.com/d1opensource/fairlight/activity |
| Custom properties | https://github.com/d1opensource/fairlight/custom-properties |
| 5 forks | https://github.com/d1opensource/fairlight/forks |
| Report repository | https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fd1opensource%2Ffairlight&report=d1opensource+%28user%29 |
| Branches | https://github.com/d1opensource/fairlight/branches |
| Tags | https://github.com/d1opensource/fairlight/tags |
| https://github.com/d1opensource/fairlight/branches |
| https://github.com/d1opensource/fairlight/tags |
| 104 Commits | https://github.com/d1opensource/fairlight/commits/master/ |
| https://github.com/d1opensource/fairlight/commits/master/ |
| .github/workflows | https://github.com/d1opensource/fairlight/tree/master/.github/workflows |
| .github/workflows | https://github.com/d1opensource/fairlight/tree/master/.github/workflows |
| .vscode | https://github.com/d1opensource/fairlight/tree/master/.vscode |
| .vscode | https://github.com/d1opensource/fairlight/tree/master/.vscode |
| scripts | https://github.com/d1opensource/fairlight/tree/master/scripts |
| scripts | https://github.com/d1opensource/fairlight/tree/master/scripts |
| src | https://github.com/d1opensource/fairlight/tree/master/src |
| src | https://github.com/d1opensource/fairlight/tree/master/src |
| .eslintrc.json | https://github.com/d1opensource/fairlight/blob/master/.eslintrc.json |
| .eslintrc.json | https://github.com/d1opensource/fairlight/blob/master/.eslintrc.json |
| .gitignore | https://github.com/d1opensource/fairlight/blob/master/.gitignore |
| .gitignore | https://github.com/d1opensource/fairlight/blob/master/.gitignore |
| .prettierrc | https://github.com/d1opensource/fairlight/blob/master/.prettierrc |
| .prettierrc | https://github.com/d1opensource/fairlight/blob/master/.prettierrc |
| LICENSE | https://github.com/d1opensource/fairlight/blob/master/LICENSE |
| LICENSE | https://github.com/d1opensource/fairlight/blob/master/LICENSE |
| README.md | https://github.com/d1opensource/fairlight/blob/master/README.md |
| README.md | https://github.com/d1opensource/fairlight/blob/master/README.md |
| jest.config.js | https://github.com/d1opensource/fairlight/blob/master/jest.config.js |
| jest.config.js | https://github.com/d1opensource/fairlight/blob/master/jest.config.js |
| package.json | https://github.com/d1opensource/fairlight/blob/master/package.json |
| package.json | https://github.com/d1opensource/fairlight/blob/master/package.json |
| rollup.config.js | https://github.com/d1opensource/fairlight/blob/master/rollup.config.js |
| rollup.config.js | https://github.com/d1opensource/fairlight/blob/master/rollup.config.js |
| setup-jest-after-env.tsx | https://github.com/d1opensource/fairlight/blob/master/setup-jest-after-env.tsx |
| setup-jest-after-env.tsx | https://github.com/d1opensource/fairlight/blob/master/setup-jest-after-env.tsx |
| setup-jest.js | https://github.com/d1opensource/fairlight/blob/master/setup-jest.js |
| setup-jest.js | https://github.com/d1opensource/fairlight/blob/master/setup-jest.js |
| test.d.ts | https://github.com/d1opensource/fairlight/blob/master/test.d.ts |
| test.d.ts | https://github.com/d1opensource/fairlight/blob/master/test.d.ts |
| tsconfig.json | https://github.com/d1opensource/fairlight/blob/master/tsconfig.json |
| tsconfig.json | https://github.com/d1opensource/fairlight/blob/master/tsconfig.json |
| tsconfig.test.json | https://github.com/d1opensource/fairlight/blob/master/tsconfig.test.json |
| tsconfig.test.json | https://github.com/d1opensource/fairlight/blob/master/tsconfig.test.json |
| typescript.svg | https://github.com/d1opensource/fairlight/blob/master/typescript.svg |
| typescript.svg | https://github.com/d1opensource/fairlight/blob/master/typescript.svg |
| yarn.lock | https://github.com/d1opensource/fairlight/blob/master/yarn.lock |
| yarn.lock | https://github.com/d1opensource/fairlight/blob/master/yarn.lock |
| README | https://github.com/d1opensource/fairlight |
| MIT license | https://github.com/d1opensource/fairlight |
| https://github.com/d1opensource/fairlight#fairlight |
| https://github.com/d1g1tinc/fairlight/actions?query=branch%3Amaster |
| https://codeclimate.com/github/d1g1tinc/fairlight |
| https://codeclimate.com/github/d1g1tinc/fairlight |
| https://bundlephobia.com/result?p=fairlight@latest |
| https://camo.githubusercontent.com/85ce2b7baa22bdb5078e92bd984e3d9c6d88261ba0873fcd2db3a4b2327a3c49/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f74797065732f666169726c69676874 |
| https://github.com/d1opensource/fairlight/blob/master/typescript.svg |
| Typescript | https://www.typescriptlang.org/ |
| Installation & Setup | https://github.com/d1opensource/fairlight#installation--setup |
| Basic Usage | https://github.com/d1opensource/fairlight#basic-usage |
| Guide | https://github.com/d1opensource/fairlight#guide |
| Response Cache | https://github.com/d1opensource/fairlight#response-cache |
| Interacting with the cache when requesting data | https://github.com/d1opensource/fairlight#interacting-with-the-cache-when-requesting-data |
| Using the cache directly | https://github.com/d1opensource/fairlight#using-the-cache-directly |
| How request cache keys are determined | https://github.com/d1opensource/fairlight#how-request-cache-keys-are-determined |
| Re-fetching a query | https://github.com/d1opensource/fairlight#re-fetching-a-query |
| Dependent queries | https://github.com/d1opensource/fairlight#dependent-queries |
| Manually updating query data | https://github.com/d1opensource/fairlight#manually-updating-query-data |
| Custom response body parsing | https://github.com/d1opensource/fairlight#custom-response-body-parsing |
| Success response codes | https://github.com/d1opensource/fairlight#success-response-codes |
| Custom query string serialization | https://github.com/d1opensource/fairlight#custom-query-string-serialization |
| Setting default headers (ie. an auth token) for all requests | https://github.com/d1opensource/fairlight#setting-default-headers-ie-an-auth-token-for-all-requests |
| Testing | https://github.com/d1opensource/fairlight#testing |
| Error handling | https://github.com/d1opensource/fairlight#error-handling |
| Typescript | https://github.com/d1opensource/fairlight#typescript |
| Usage with Redux | https://github.com/d1opensource/fairlight#usage-with-redux |
| Server-side rendering (SSR) | https://github.com/d1opensource/fairlight#server-side-rendering-ssr |
| Motivation | https://github.com/d1opensource/fairlight#motivation |
| Comparison to similar libraries | https://github.com/d1opensource/fairlight#comparison-to-similar-libraries |
| Feature Roadmap | https://github.com/d1opensource/fairlight#feature-roadmap |
| API Documentation | https://github.com/d1opensource/fairlight#api-documentation |
| useApiQuery(params: object, opts?: object) | https://github.com/d1opensource/fairlight#useapiqueryparams-object-opts-object |
| useApiMutation(params: object) | https://github.com/d1opensource/fairlight#useapimutationparams-object |
| ApiProvider | https://github.com/d1opensource/fairlight#apiprovider |
| HttpEndpoints | https://github.com/d1opensource/fairlight#httpendpoints |
| RestEndpoints | https://github.com/d1opensource/fairlight#restendpoints |
| Api | https://github.com/d1opensource/fairlight#api |
| Constructor | https://github.com/d1opensource/fairlight#constructor |
| baseUrl | https://github.com/d1opensource/fairlight#baseurl |
| request(params: object, opts?: object) | https://github.com/d1opensource/fairlight#requestparams-object-opts-object |
| requestInProgress(params: object) | https://github.com/d1opensource/fairlight#requestinprogressparams-object |
| writeCachedResponse(params: object, responseBody?: Blob | object | string) | https://github.com/d1opensource/fairlight#writecachedresponseparams-object-responsebody-blob--object--string |
| readCachedResponse(params: object) | https://github.com/d1opensource/fairlight#readcachedresponseparams-object |
| onCacheUpdate(params: object) | https://github.com/d1opensource/fairlight#oncacheupdateparams-object |
| setDefaultHeader(key: string, value: string) | https://github.com/d1opensource/fairlight#setdefaultheaderkey-string-value-string |
| onError | https://github.com/d1opensource/fairlight#onerror |
| https://github.com/d1opensource/fairlight#installation--setup |
| https://github.com/d1opensource/fairlight#basic-usage |
| here | https://github.com/d1opensource/fairlight#httpendpoints |
| here | https://github.com/d1opensource/fairlight#restendpoints |
| api | https://github.com/d1opensource/fairlight#api |
| here | https://github.com/d1opensource/fairlight#useapimutationparams-object |
| https://github.com/d1opensource/fairlight#guide |
| https://github.com/d1opensource/fairlight#response-cache |
| https://github.com/d1opensource/fairlight#interacting-with-the-cache-when-requesting-data |
| stale-while-invalidate | https://web.dev/stale-while-revalidate/ |
| https://github.com/d1opensource/fairlight#using-the-cache-directly |
| API examples | https://github.com/d1opensource/fairlight#writecachedresponseparams-object-responsebody-blob--object--string |
| https://github.com/d1opensource/fairlight#how-request-cache-keys-are-determined |
| api.request | https://github.com/d1opensource/fairlight#requestparams-object-opts-object |
| https://github.com/d1opensource/fairlight#re-fetching-a-query |
| here | https://github.com/d1opensource/fairlight#useapiqueryparams-object-opts-object |
| https://github.com/d1opensource/fairlight#dependent-queries |
| https://github.com/d1opensource/fairlight#manually-updating-query-data |
| react#useState | https://reactjs.org/docs/hooks-reference.html#functional-updates |
| https://github.com/d1opensource/fairlight#custom-response-body-parsing |
| https://github.com/d1opensource/fairlight#success-response-codes |
| https://github.com/d1opensource/fairlight#custom-query-string-serialization |
| https://github.com/d1opensource/fairlight#setting-default-headers-ie-an-auth-token-for-all-requests |
| https://github.com/d1opensource/fairlight#testing |
| jest-fetch-mock | https://github.com/jefflau/jest-fetch-mock#readme |
| React Testing Library | https://testing-library.com/docs/react-testing-library/intro |
| https://github.com/d1opensource/fairlight#error-handling |
| https://github.com/d1opensource/fairlight#typescript |
| https://github.com/d1opensource/fairlight#usage-with-redux |
| extra argument | https://github.com/reduxjs/redux-thunk#injecting-a-custom-argument |
| saga context | https://redux-saga.js.org/docs/api/ |
| https://github.com/d1opensource/fairlight#server-side-rendering-ssr |
| isomorphic-unfetch | https://www.npmjs.com/package/isomorphic-unfetch |
| next.js | https://nextjs.org/ |
| https://github.com/d1opensource/fairlight#motivation |
| d1g1t | https://github.com/d1g1tinc |
| https://github.com/d1opensource/fairlight#comparison-to-similar-libraries |
| apollo-client | https://www.apollographql.com/docs/react/ |
| swp | https://github.com/zeit/swr |
| react-query | https://github.com/tannerlinsley/react-query |
| https://github.com/d1opensource/fairlight#feature-roadmap |
| #11 | https://github.com/d1g1tinc/fairlight/issues/11 |
| #28 | https://github.com/d1g1tinc/fairlight/issues/28 |
| #7 | https://github.com/d1g1tinc/fairlight/issues/7 |
| #10 | https://github.com/d1g1tinc/fairlight/issues/10 |
| #9 | https://github.com/d1g1tinc/fairlight/issues/9 |
| #8 | https://github.com/d1g1tinc/fairlight/issues/8 |
| submit an issue | https://github.com/d1g1tinc/fairlight/issues |
| https://github.com/d1opensource/fairlight#api-documentation |
| https://github.com/d1opensource/fairlight#useapiqueryparams-object-opts-object |
| Api#request() | https://github.com/d1opensource/fairlight#requestparams-object-opts-object |
| https://github.com/d1opensource/fairlight#useapimutationparams-object |
| api | https://github.com/d1opensource/fairlight#api |
| https://github.com/d1opensource/fairlight#apiprovider |
| https://github.com/d1opensource/fairlight#httpendpoints |
| https://github.com/d1opensource/fairlight#restendpoints |
| HttpEndpoints | https://github.com/d1opensource/fairlight#httpendpoints |
| https://github.com/d1opensource/fairlight#api |
| https://github.com/d1opensource/fairlight#constructor |
| https://github.com/d1opensource/fairlight#baseurl |
| https://github.com/d1opensource/fairlight#requestparams-object-opts-object |
| https://github.com/d1opensource/fairlight#requestinprogressparams-object |
| Api#request() | https://github.com/d1opensource/fairlight#requestparams-object-opts-object |
| https://github.com/d1opensource/fairlight#writecachedresponseparams-object-responsebody-blob--object--string |
| Api#request() | https://github.com/d1opensource/fairlight#requestparams-object-opts-object |
| https://github.com/d1opensource/fairlight#readcachedresponseparams-object |
| Api#request() | https://github.com/d1opensource/fairlight#requestparams-object-opts-object |
| https://github.com/d1opensource/fairlight#oncacheupdateparams-object |
| Api#request() | https://github.com/d1opensource/fairlight#requestparams-object-opts-object |
| https://github.com/d1opensource/fairlight#setdefaultheaderkey-string-value-string |
| https://github.com/d1opensource/fairlight#onerror |
| api | https://github.com/topics/api |
| cache | https://github.com/topics/cache |
| data-fetching | https://github.com/topics/data-fetching |
| hook | https://github.com/topics/hook |
| react | https://github.com/topics/react |
| rest | https://github.com/topics/rest |
| stale-while-invalidate | https://github.com/topics/stale-while-invalidate |
| typescript | https://github.com/topics/typescript |
| Readme | https://github.com/d1opensource/fairlight#readme-ov-file |
| MIT license | https://github.com/d1opensource/fairlight#MIT-1-ov-file |
| Activity | https://github.com/d1opensource/fairlight/activity |
| Custom properties | https://github.com/d1opensource/fairlight/custom-properties |
| 5 forks | https://github.com/d1opensource/fairlight/forks |
| Report repository | https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fd1opensource%2Ffairlight&report=d1opensource+%28user%29 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |