hooks
hooks copied to clipboard
React Native APIs turned into React Hooks for use in functional React components
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint](https://eslint.org) ([source](https://togithub.com/eslint/eslint)) | [`7.3.1` -> `7.32.0`](https://renovatebot.com/diffs/npm/eslint/7.3.1/7.32.0) |...
some times we need to have previous state to make sure preious state was 'background' or 'inactive' and currentstate is active, so we will call a method. but currently the...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint-plugin-prettier](https://togithub.com/prettier/eslint-plugin-prettier) | [`3.4.1` -> `4.2.1`](https://renovatebot.com/diffs/npm/eslint-plugin-prettier/3.4.1/4.2.1) | [](https://docs.renovatebot.com/merge-confidence/)...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [typescript](https://www.typescriptlang.org/) ([source](https://togithub.com/Microsoft/TypeScript)) | [`3.9.10` -> `4.8.3`](https://renovatebot.com/diffs/npm/typescript/3.9.10/4.8.3) |...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [auto](https://togithub.com/intuit/auto) | [`9.26.8` -> `9.61.0`](https://renovatebot.com/diffs/npm/auto/9.26.8/9.61.0) | [](https://docs.renovatebot.com/merge-confidence/)...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@auto-it/first-time-contributor](https://togithub.com/intuit/auto) | [`9.28.3` -> `9.61.0`](https://renovatebot.com/diffs/npm/@auto-it%2ffirst-time-contributor/9.28.3/9.61.0) | [](https://docs.renovatebot.com/merge-confidence/)...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@auto-it/all-contributors](https://togithub.com/intuit/auto) | [`9.28.3` -> `9.61.0`](https://renovatebot.com/diffs/npm/@auto-it%2fall-contributors/9.28.3/9.61.0) | [](https://docs.renovatebot.com/merge-confidence/)...
Bumps [simple-plist](https://github.com/wollardj/simple-plist) from 1.1.0 to 1.3.1. Release notes Sourced from simple-plist's releases. TypeScript This release is a rewrite of the JavaScript code into TypeScript code to add strong typing for...
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...
### IM TRYING TO USE USECAMERAROLL HOW CAN I USE IT ``` import { useCameraRoll } from '@react-native-community/hooks' const [photos, getPhotos, saveToCameraRoll] = useCameraRoll() { photos.map((photo, index) => /* render...