Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a51f813

Browse files
committed
typo fix
1 parent dccf7fb commit a51f813

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

‎docs/src/main/tut/FRP-Best-Practice.md‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,10 @@ Functional Best Practice in xReact
1010
I'll guide you to some good practice of Functional Programming through the Counter example.
1111

1212
> It's really helpful even you don't use xreact, the FP idea is common and applicable to anywhere even for redux project.
13-
14-
use Union Type to define Intent
13+
Usee Union Type to define Intent
1514
-------------------------------
1615

17-
union-type is a awesome library to define union type/case class.
16+
union-type is an awesome library to define union type/case class.
1817

1918
most flux-like library will define Intents using the keyword \`type\`
2019

‎docs/src/main/tut/Fantasy.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ position: 3
77

88
# XReact Fantasy
99

10-
xreact is a Functional library that can integrete FRP lib rxjs or mostjs into react. But there're still too many details you need to care while modeling UI components.
10+
xreact is a Functional library that can integrate FRP lib rxjs or mostjs into react. But there're still too many details you need to care while modeling UI components.
1111

1212
The implement of [Fantasy Land](https://github.com/fantasyland/fantasy-land), which will change the way you model and implement UI entirely.
1313

@@ -92,7 +92,7 @@ For example, from `XMult`, we could simply transform it into a `XMMP` with new c
9292
let XMMP = XMult.map((s) => ({output: s.output * s.output}))
9393
```
9494

95-
it's just like maping on a list
95+
it's just like mapping on a list
9696

9797
```js
9898
[1,2,3].map(x=>x*x)
@@ -105,7 +105,7 @@ it's just like maping on a list
105105

106106
## Monoid
107107

108-
It's actually Semigroup, but if we have a ID FantasyX, we have Monoid, a Identity FantasyX make sense in that the computation inside is just Identity.
108+
It's actually Semigroup, but if we have a ID FantasyX, we have Monoid, an Identity FantasyX make sense in that the computation inside is just Identity.
109109

110110
Anyway, let's see how can we combine two FantasyX together
111111

‎docs/src/main/tut/Get-Started.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ every View component expected a `actions` fields in `props`
4242

4343
![](https://www.evernote.com/l/ABeLlbr3vQNM_JKfcd_W4zfW262lxWJhOsMB/image.png)
4444

45-
After we have a pretty view for represention and inteacting interface, we can define how to update the view, or "how to react on actions". In such case:
45+
After we have a pretty view for representation and interacting interface, we can define how to update the view, or "how to react on actions". In such case:
4646

4747
1. A counter can have actions of `inc` and `dec`, which will send `Intent` of `{type: 'inc'}` or `{type:'dec'}` to `Intent Stream` upon being called.
48-
2. A counter reactively generates `Update` when it receives an `Intent` of either type `inc` or `dec`.
48+
2. A counter reactivity generates `Update` when it receives an `Intent` of either type `inc` or `dec`.
4949

5050
```js
5151
const plan = (intent$) => {
@@ -99,6 +99,6 @@ render(
9999

100100
## Type Safe Counter
101101

102-
If you are TypeScript user and want to enjoy a type safe counter app, it's simple to do so since Xreact is written 100% in TypeScript.
102+
If you are TypeScript user and want to enjoy a type safe counter app, it's simple to do so since xReact is written 100% in TypeScript.
103103

104104
<iframe src="https://www.webpackbin.com/bins/-KsSYQVTkFjd_MQon3b9" frameborder="0" width="100%" height="500"></iframe>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /