Skip to content

Commit 7df01b7

Browse files
christianalfonigitbook-bot
authored andcommitted
GitBook: [v28] 44 pages modified
1 parent 31e00be commit 7df01b7

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

core/typescript.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,5 +225,9 @@ export const doThis = pipe(
225225
(context: Context, value) => {
226226
// value is now "number"
227227
}
228+
)
229+
230+
// call action
231+
doThis('foo') // Typed to string, as first operator needs string
228232
```
229233

views/react.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ export default Todos
312312

313313
## React Native
314314

315-
Overmind supports React Native. What to take notice of though is that native environments sometimes abstracts away the main **render** function of React. That can be a bit confusing in terms of setting up the **Provider**. If your environment only exports an initial component, that component needs to be responsible for settings up the providers and rendering your main component:
315+
Overmind supports React Native. What to take notice of though is that native environments sometimes abstracts away the main **render** function of React. That can be a bit confusing in terms of setting up the **Provider**. If your environment only exports an initial component, that component needs to be responsible for setting up the providers and rendering your main component:
316316

317317
```typescript
318318
import { createOvermind } from 'overmind'

0 commit comments

Comments
 (0)