repos / starfx

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

commit
23b3bf2
parent
9d8eb2c
author
Eric Bower
date
2024-08-16 19:40:31 +0000 UTC
docs: copy
1 files changed,  +2, -1
M docs/posts/getting-started.md
+2, -1
 1@@ -90,6 +90,7 @@ const store = createStore({ initialState });
 2 const api = createApi();
 3 // mdw = middleware
 4 api.use(mdw.api({ schema }));
 5+// where `fetchRepo` will be placed inside the middleware stack
 6 api.use(api.routes());
 7 api.use(mdw.fetch({ baseUrl: "https://api.github.com" }));
 8 
 9@@ -99,7 +100,7 @@ const fetchRepo = api.get(
10   api.cache(),
11 );
12 
13-store.run(api.bootup);
14+store.run(api.register);
15 
16 function App() {
17   return (