reflex icon indicating copy to clipboard operation
reflex copied to clipboard

Add note about `requesting` semantics

Open LightAndLight opened this issue 1 year ago • 2 comments

This seems to be the case for Obelisk's HTTP requester. Should it be true in general? Is this the right place to document it?

Being explicit about this matters to me, because it's possible to implement a requester has the request and response events fire at the same time. If that were the case, then you wouldn't be able to, say, transition a DOM element to "loading" while a request was in flight.

LightAndLight avatar Sep 13 '24 04:09 LightAndLight

#505 Actually, my fix is to handle immediate responses. I'm not certain about the semantics, but it feels buggy when I play with my app. It's very likely that someone will write an immediate response for test purposes as I did.

bglgwyng avatar Sep 13 '24 16:09 bglgwyng

I have recently had a similar issue. In my opinion users of the class shouldn’t make any assumptions about the timing.

maralorn avatar Nov 01 '24 22:11 maralorn