starfx
sitemap
github
discord
sitemap
starfx doc sitemap
Advanced
Supervisors
poll
timer
Testing
Info
Getting started
Motivation
When to use this library
Code Example
Install
Structured Concurrency
Design Philosophy
API
Resources
Quick Links
Talk
Other Notable Libraries
Side Effects
Thunks
Thunk Action
Thunk Payload
Custom ctx
Endpoints
Enforcing fetch response type
The same API endpoints but different logic
Using variables inside the API endpoint
ctx.request
Using ctx.req
ctx.response
ctx.json
Middleware automation
Dependent Queries
Dispatch the thunk as an action
Call the middleware stack directly
Middleware
Context
Loaders
Usage
Shape
Store
Store
How to update state
Updating state from view
Schema
Schema Assumptions
any
str
num
obj
table
loader
Build your own slice
Caching
Manual
Automatic
View
React
useSelector
useLoader
useApi
useQuery
useCache
useLoaderSuccess