{"schemaVersion":1,"id":"react-native-community-hooks","name":"React Native Community Hooks","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/react-native-community-hooks/","officialUrl":"https://github.com/react-native-community/hooks","isCatalog":false,"description":"A collection of hooks for React Native APIs: it connects application state, keyboard, and other platform events to screen components.","tasks":["Reflect platform events in a React Native screen","Connect its values to a screen and test responses to the corresponding event"],"categoryIds":["apps","frontend"],"subcategoryIds":["apps.reactnative","frontend.components"],"tags":["React Native Community Hooks","mobile","Development"],"aliases":["react-native-community/hooks","react-native-hooks"],"platforms":[],"stack":[],"compatibility":null,"pricing":"free","freeUsage":"Code and local use under ISC.","paidUsage":"Computing resources, self-hosting, and external services are paid for separately if used.","license":"ISC: code.","selectionGuide":{"purpose":"Reflect platform events in a React Native screen","chooseWhen":["Reflect platform events in a React Native screen","Connect its values to a screen and test responses to the corresponding event"],"considerInstead":[],"requirements":["In useBackHandler, explicitly return true for handled events and false when the standard handler is needed."],"limitations":["Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.","Terms of use: ISC: code.","Hooks wrap React Native events; they do not create navigation or screen-closing rules themselves."],"faq":[{"question":"What can you use for free in React Native Community Hooks?","answer":"Code and local use under ISC."},{"question":"What additional costs might arise with React Native Community Hooks?","answer":"Computing resources, self-hosting, and external services are paid for separately if used."},{"question":"What terms of use matter for React Native Community Hooks?","answer":"ISC: code."},{"question":"How do you get started with React Native Community Hooks?","answer":"Choose a hook for app state, keyboard, or another required platform API. Connect its values to a screen and test responses to the corresponding event. Build the application and test the workflow on target devices."},{"question":"How does useBackHandler pass control to the standard handler?","answer":"The README demonstrates a callback: true means your code handled the event; false permits the standard action. The example includes the condition in the dependency array. A possible scenario closes a local panel before navigating back, as an explicit application decision."}],"related":[],"sources":["https://github.com/react-native-community/hooks","https://raw.githubusercontent.com/react-native-community/hooks/HEAD/README.md","https://raw.githubusercontent.com/react-native-community/hooks/HEAD/LICENSE","https://www.open-source-tools.com/","https://raw.githubusercontent.com/react-native-community/hooks/master/LICENSE"]},"selectionCheckedAt":null,"applicationGuide":{"goal":"Reflect platform events in a React Native screen.","inputs":["A React Native project and target devices.","A design, data, and platform requirements."],"steps":["Choose a hook for app state, keyboard, or another required platform API.","Connect its values to a screen and test responses to the corresponding event.","Build the application and test the workflow on target devices."],"checks":["Behavior meets the project's iOS and Android requirements.","Check gestures, accessibility, and performance on the target device."]},"sources":["https://github.com/react-native-community/hooks","https://raw.githubusercontent.com/react-native-community/hooks/HEAD/README.md","https://raw.githubusercontent.com/react-native-community/hooks/HEAD/LICENSE","https://www.open-source-tools.com/","https://raw.githubusercontent.com/react-native-community/hooks/master/LICENSE"],"checkedAt":"2026-10-06","reviewScope":"The purpose, current repository license, and separate terms for code, services, and models have been reviewed. The product was not run, and no security audit was performed.","relatedIds":[],"dataVersion":"cbbe7123b47a5ae80983","type":"React Native / mobile development","kind":"library","pricingNote":"Code and local use under ISC. Computing resources, self-hosting, and external services are paid for separately if used.","notes":null,"labeledSources":[{"url":"https://github.com/react-native-community/hooks","label":"Official source"},{"url":"https://raw.githubusercontent.com/react-native-community/hooks/HEAD/README.md","label":"Official source"},{"url":"https://raw.githubusercontent.com/react-native-community/hooks/HEAD/LICENSE","label":"License"},{"url":"https://www.open-source-tools.com/","label":"Catalog / discovery source"},{"url":"https://raw.githubusercontent.com/react-native-community/hooks/master/LICENSE","label":"Official source"}],"licenseGuides":[{"id":"isc","title":"ISC — short permissive license","scope":null,"summary":"You can use, copy, modify, and distribute the code for any purpose, including commercial use. Retain the copyright notice and permission text in copies. You do not need to open-source your own project; the author provides no warranties.","url":"https://opensource.org/license/isc"}],"entryIds":[],"composition":null}