How to use react-navi - 10 common examples

To help you get started, we’ve selected a few react-navi examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github frontarm / navi / examples / firebase / src / routes / register.tsx View on Github external
function Register({ firebase }: { firebase: Firebase }) {
  let navigation = useNavigation()

  return (
    
      <form> {
        let { email, password } = value
        await firebase.auth.createUserWithEmailAndPassword(email, password)
        await navigation.navigate('/?welcome')
      }}&gt;
        
        
            value === '' ? 'Please enter your email.' : undefined
          }
        /&gt;</form>

react-navi

A batteries-included router for react.

MIT
Latest version published 2 years ago

Package Health Score

56 / 100
Full package analysis

Popular react-navi functions