Skip to content

Add an optional sync loading mode - #203

Open
Alt-iOS wants to merge 5 commits into
sevenseacat:mainfrom
Alt-iOS:main
Open

Add an optional sync loading mode#203
Alt-iOS wants to merge 5 commits into
sevenseacat:mainfrom
Alt-iOS:main

Conversation

@Alt-iOS

@Alt-iOS Alt-iOS commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Adds a global and overridable per collection flag to allow the initial load to be synchronous, making it SSR. Added a few tests to ensure everything afterwards is still async and the user choices are respected. By default is disabled to make it completely opt-in

@Alt-iOS Alt-iOS changed the title Add an optional SSR mode Add an optional sync loading mode Jul 30, 2026
@Alt-iOS

Alt-iOS commented Jul 30, 2026

Copy link
Copy Markdown
Contributor Author
Screen.Recording.mov

Here is a simple demo, in the first half of the video the data hasn't been loaded yet, those a flash of empty table/loading state appears. In the second half, the collection items were already loaded so even if the websocket hasn't fully mounted yet, the data is available

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.

1 participant