ocexnn
DTDrizzle Team
•Created by Chris Dosé on 10/15/2024 in #help
[solved] useLiveQuery seems to always run the query twice
ok thanks, i've been having a hard time finding the answer. everyone always mentions it in a web context
10 replies
DTDrizzle Team
•Created by Chris Dosé on 10/15/2024 in #help
[solved] useLiveQuery seems to always run the query twice
@deviceoperator
10 replies
DTDrizzle Team
•Created by Chris Dosé on 10/15/2024 in #help
[solved] useLiveQuery seems to always run the query twice
does this apply to react native apps?????
10 replies
DTDrizzle Team
•Created by ocexnn on 1/16/2025 in #help
How to deal with initial undefined data
Also, how do you guys make the query return a single object rather than an array with the object? Notice how I always have to say list[0] to access the data that i want. I would love to know how to be able to simplify that. Of course I could make a state that stores list[0] but I want to know if I can make the query itself return the single object instead. Thanks.
2 replies