0
alexop.dev · 19d · discuss
Three refs for loading, error and data can disagree with each other. I replace them with a TypeScript union and one pure function, then wire it into Vue with a tiny useReducer composable. No library.
alexop.dev · 19d · discuss
Three refs for loading, error and data can disagree with each other. I replace them with a TypeScript union and one pure function, then wire it into Vue with a tiny useReducer composable. No library.
We can't find the internet
Attempting to reconnect
Something went wrong!
Attempting to reconnect