I have createDocument
in one component and I want to use the documentid
in another component to updateDocument
And?
How do I use documentid in another component to update the document
Not sure what you mean...did you look at the result of create document?
Create document is working fine
But I need to update my document in another component
Look at the response of create document
I'm not sure what the problem is
Yes iam getting the id in my console
Ok and?
I have created my document in one component and I want to update my document with same documentid in another component
I want to use that id in another component
I think you really need more practice with react
I have practiced it
Could please help me with that
Are you able to get the id after creating the document?
Yes
I can't help any more then. You'll need to find some react course
Ok let someone in this community will help
Iam creating new post for the people who know react
And help me with that
I suggest going to a react discord server
Ok
[CLOSED] UpdateDocument()..
Recommended threads
- Invalid document structure: missing requ...
I just pick up my code that's working a week ago, and now I got this error: ``` code: 400, type: 'document_invalid_structure', response: { message: 'Inv...
- custom domain with CloudFlare
Hi all, it seems that CloudFlare has blocked cross-domain CNAME link which made my app hostname which is in CloudFlare, unable to create a CNAME pointing to clo...
- Type Mismatch in AppwriteException
There is a discrepancy in the TypeScript type definitions for AppwriteException. The response property is defined as a string in the type definitions, but in pr...