Remote / foldkit-remote
Find what you need
Read the full walkthrough once, then jump to what you are doing:
| Task | Start here |
|---|---|
| See it work before there is a server | Step 5 |
A read stays Initial | Why is it still Initial? |
A read is Loading or Refreshing and you did not expect it | Why is it Loading? |
| A list shows old rows | Why is it stale? |
| A saved change showed, then vanished | Why did my change disappear? |
A page I came back to reads Refreshing or Loading | Why Refreshing? |
| Ask the Model why a read shows what it shows | why |
Test that a list never blinks to Loading, without a browser | Trace |
| Test that what a write shows is what the server stores | Law |
| Show a failed read, and let the user retry | When a read fails |
| Load an ordered, paged list | Queries and pagination |
| Filter a list already on screen | Filtering a loaded list |
| Save, and show the result before the server answers | Mutations |
| Save a write that must reach the server across a reload or offline | outbox(Data, …) |
| Keep a list current as the server changes it | Live data |
| Fetch outside an active screen | Policies and prefetch |
| Keep data across a reload | Hydration |
| Hand a server render's data to the browser | Server rendering |
| Answer the requests on the server | How the server packages fit |