Skip to content

Changes I had to make to this repo to have a RN app connecting to Nhost #4

Open
@oristian

Description

@oristian

Had to change the way it was imported - use dereferencing

import { auth, storage } from '../../helpers/nhostSdk';

when you use the auth library, you'll need to pass an object with params instead of email and password separately

  await auth.login({email, password});

  // instead of

  await auth.login(email, password);

  // same deal for auth.register()

I've got my starter up at this GitHub repo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions