hooks icon indicating copy to clipboard operation
hooks copied to clipboard

React hooks for convenient react-navigation use

Results 24 hooks issues
Sort by recently updated
recently updated
newest added

Bumps [y18n](https://github.com/yargs/y18n) from 3.2.1 to 3.2.2. Commits See full diff in compare view Maintainer changes This version was pushed to npm by oss-bot, a new releaser for y18n since your...

dependencies

Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7. Commits c74c8af 1.3.7 024b8b5 update deps, add linting 032fbaf Use Object.create(null) to avoid default object property hazards 2da9039 1.3.6 cfea636 better git push script,...

dependencies

Using react-navigation v4 Hook: `const navigation = useNavigation();` Use hook: `navigation.popToTop();` Typescript error: `Property 'popToTop' does not exist on type 'NavigationScreenProp'.ts(2339)`

Bumps [https-proxy-agent](https://github.com/TooTallNate/node-https-proxy-agent) from 2.2.2 to 2.2.4. Release notes Sourced from https-proxy-agent's releases. 2.2.4 Patches Add .editorconfig file: a0d4a20458498fc31e5721471bd2b655e992d44b Add .eslintrc.js file: eecea74a1db1c943eaa4f667a561fd47c33da897 Use a net.Socket instead of a plain EventEmitter...

dependencies

Would it be an idea to import `useNavigation` from `'@react-navigation/native';`` and use that if the user has react-navigation v5 installed? I'm in the process of upgrading from v4 to v5...

Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4. Commits 6370e90 Mark version 5.7.4 fbc15b1 More rigorously check surrogate pairs in regexp validator See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=acorn&package-manager=npm_and_yarn&previous-version=5.7.3&new-version=5.7.4)](https://help.github.com/articles/configuring-automated-security-fixes) Dependabot...

dependencies

I've noticed that for some reason navigationOptions aren't set correctly when using useEffect to initialize them when component mounts. Here's a basic test scenario to reproduce this: ```javascript function TestScreen()...

This fix react-navigation/hooks#49

```jsx function ReactComponent() { const { navigate } = useNavigation(); useEffect(() => { if (someBoolean) { navigate(...) } }, [someBoolean,navigate]) } ``` The functions like navigate/goBack etc should be able...

Issue to discuss what should be included in v2, including breaking changes. Keep in mind this project is temporary and v5 will ship with hooks directly in core. The goal...