ready and render signals #16

Closed
opened 2022-11-23 07:37:03 +13:00 by mikedilger · 2 comments
mikedilger commented 2022-11-23 07:37:03 +13:00 (Migrated from github.com)

'ready' is a command the front end should call to the backend. The backend should not send javascript events until it is ready, it should queue them.

'render' is a flag in pinia which a rust message will turn on. It should stay off until rust has uploaded all of its changes. It disables taking any action on pinia changes that are subscribed to... but it itself is subscribed to and when it goes on the actions then occur.

These should improve performance and responsiveness.

'ready' is a command the front end should call to the backend. The backend should not send javascript events until it is ready, it should queue them. 'render' is a flag in pinia which a rust message will turn on. It should stay off until rust has uploaded all of its changes. It disables taking any action on pinia changes that are subscribed to... but it itself is subscribed to and when it goes on the actions then occur. These should improve performance and responsiveness.
mikedilger commented 2022-11-26 07:31:13 +13:00 (Migrated from github.com)

The javascript_is_ready half of this has been implemented.

The javascript_is_ready half of this has been implemented.
mikedilger commented 2022-11-27 08:51:01 +13:00 (Migrated from github.com)

We have a provisional commit for this, but it didn't seem to make a difference.
Closing.

We have a provisional commit for this, but it didn't seem to make a difference. Closing.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nostr/gossip#16
No description provided.