i have an issue now, it seems the user database doesn't access all images like profiles and badges before the page loads and that gives me uncontrolled undefined errors which makes the page really unstable what should i do?
well i fixed it with a really weird piece of code that works properly for some reason
it only renders Home component when the users database is more than 0
That is a normal behavior, I don't which framework are you using, but you have to considerate requests are not made all together, and not all request finish to load at the same time, that is why you'll get undefined values at some renders. To solve that, you normally use a loader, or a data checker as you already did it
yeah yeah no worries
im using uhh
vite-react
[SOLVED] Server data wont load before page
Recommended threads
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- Different appwrite IDs are getting expos...
File_URL_FORMAT= https://cloud.appwrite.io/v1/storage/buckets/[BUCKET_ID]/files/[FILE_ID]/preview?project=[PROJECT_ID] I'm trying to access files in my web app...
- 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...