score:-1
const { displayname, email, surname, cellphone, address, province, tccheckbox } = userauth;
did you mean additionaldata
instead of userauth
?
score:1
i would think this is related with createuserwithemailandpassword
. this method returns object usercredential
. please check the reference and example.
so in the code there is user
assignment and i think this should be corrected to:
const user = yield auth.createuserwithemailandpassword(email, password).user;
more or less like in the example. i do not have a playground to test it, so please share the result.
Source: stackoverflow.com
Related Query
- Why is user data not storing into firebase firestore?
- Why input data not getting added to firebase firestore collection
- react firebase custom fields authentication create user is not storing the custom fields in firestore database collection
- React Firestore data retrieval into array not working
- Why does graphql not inject my data into react component prop?
- Why does storing Open Weather Api fetched data in saved state not render in React JS?
- why am i not able to write data to firebase after i updated security rules
- Why does the state in ReactjS vs firebase data not match?
- Why Firebase user is not authenticated anymore when refreshing?
- Why state is not storing data correctly?
- "Objects are not valid as a React child" when adding user data to Firestore
- Do not understand why duplicate data is being copied into my url in react component
- Why is Cloud Firestore not allowing access with Firebase Auth validation?
- React: I have an api fetch and the data stores into my hook state. Why can I console.log the hook object, but not access it?
- Why is my data not loading into redux store?
- Why is the user not persisted on a page refresh with Firebase and Firebase React Hooks?
- Firebase firestore WEB v.9 retrieve data ID-s from collection where that current user ID contains
- Why table is not showing any data that is passed into usetable
- Why is the data stored in firestore not being fetched in react?
- Not able to show fetched data from firebase into reactjs webapp
- When Ever i make user to signup through firebase he is authenticate but data is not written in firebase db?
- How do I keep a user logged into firebase after refresh in React.JS?
- How to import Firebase Firestore into a create-react-app project using ES6 syntax
- MobX - Why should I use `observer` when I could use `inject` when injecting data into a React component
- Firebase Auth - User not logged in after Firebase sign up and redirect
- React Apollo first object from subscription not being merge into previous data it actually gets removed
- React's setState(), data mutation for nested structures, why not modify state directly?
- Why not dispatch directly into store from action creator redux?
- How to make sure all data is written into Firestore in a sequential order?
- Check if user is logged in or not using firebase in react
More Query from same tag
- Invalid options object. Dev Server has been initialized using an options object that does not match the API schema
- Redirect express to React page
- How to send POST response to another function using React.js and axios?
- How to prevent the submit button from reloading the page, while keeping default form warnings?
- React.useState does not reload state from props
- React-native global variable undefined
- Is there any better way to avoid stale closures in React hooks?
- React with SASS is removing the CSS page size parameter
- React - get time of long pressing button in seconds
- Why I can't delete a user object this way?
- Node (Express) / React app only works locally
- how to play/pause video in React without external library?
- Does setState replace all existing data in a key, or just update what needs updating?
- React:: Error: GraphQL error: Cannot read property 'headers' of undefined
- React Javascript render error
- How to only run function when button is submitted with key "Enter" - React Js
- update dom ref using d3 and react
- ReactDOM to render multiple elements using the same class at ones?
- How do i get and apply today value with moment.js?(react.js)
- make react bootstrap column md
- Different ways to query with react-apollo
- React render pasted html as tags, not string
- Child component is not getting data from the parent component
- Unsupported style property with React-Awesome-Slider and Gatsby
- React app not working after uploading to Heroku
- How to create a component named Tail that takes a number and renders the last N children
- Get Bootstrap theme into React app
- Bootstrap 4 Navbar keep item from collapsing and center
- unable to update star rating from react to mongodb
- Reactjs - Update options by hitting API on every input change in Autocomplete component (Material UI)