All Questions
Tagged with es6-proxy asynchronous
3
questions
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 ...
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 ...
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 = []...