repos / starfx

supercharged async flow control library.
git clone https://github.com/neurosnap/starfx.git

commit
695ae6c
parent
a2ef831
author
Eric Bower
date
2024-03-04 20:06:32 +0000 UTC
docs: getting started
1 files changed,  +2, -2
M docs/posts/getting-started.md
+2, -2
 1@@ -103,9 +103,9 @@ function App() {
 2 }
 3 
 4 function Example() {
 5-  const { isLoading, isError, message, data } = useCache(fetchRepo());
 6+  const { isInitialLoading, isError, message, data } = useCache(fetchRepo());
 7 
 8-  if (isLoading || !data) return "Loading ...";
 9+  if (isInitialLoading) return "Loading ...";
10 
11   if (isError) return `An error has occurred: ${message}`;
12