Skip to content

Add note about requesting semantics#508

Merged
ali-abrar merged 1 commit into
reflex-frp:developfrom
LightAndLight:patch-1
Oct 19, 2025
Merged

Add note about requesting semantics#508
ali-abrar merged 1 commit into
reflex-frp:developfrom
LightAndLight:patch-1

Conversation

@LightAndLight

@LightAndLight LightAndLight commented Sep 13, 2024

Copy link
Copy Markdown
Contributor

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.

@bglgwyng

bglgwyng commented Sep 13, 2024

Copy link
Copy Markdown

#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.

@maralorn

maralorn commented Nov 1, 2024

Copy link
Copy Markdown
Contributor

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

@ali-abrar ali-abrar merged commit 634bbfe into reflex-frp:develop Oct 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants