Skip to main content

All Questions

Tagged with
0 votes
1 answer
76 views

myRef.value is holding a Proxy even tho it should hold a simple array

I am doing a simple app that fetches data (my tasks) from my PocketBase(BaaS like Firebase). I want to store my tasks into a ref because it could change overtime (ex: user modify the name of it). I am ...
santoro's user avatar
  • 13
5 votes
1 answer
4k views

JavaScript proxy return async value on "get"

I have some objects that I am fetching from a web server. Some of the attributes of the objects require additional async parsing, but I want to do that lazily for performance reasons. I am trying to ...
echappy's user avatar
  • 543
0 votes
3 answers
3k views

How to await an array length to change to a specified value?

can I await an array length to change to a specified value in JS. for example: Suppose there is a magic function named foo here, and I can use foo like this: async funtion bar () { let arr = []...
user9186776's user avatar