Skip to content

Commit d0a0a11

Browse files
authored
Merge pull request #10 from paralax/patch-1
a couple of spelling changes - no content changed
2 parents a75b1d6 + 07fea56 commit d0a0a11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ Of course, we want to give feedback to our users on both fields. We can do this
432432
433433
#### Writing Your Own Validators
434434
435-
Although the provided validators cover a lot of sitations, undoubtedly at some point you will need to create your own. This is relatively simple. Validators must match the signature:
435+
Although the provided validators cover a lot of situations, undoubtedly at some point you will need to create your own. This is relatively simple. Validators must match the signature:
436436
437437
```js
438438
interface ValidResult {
@@ -557,7 +557,7 @@ If, as above, we name our messages using the same keys as the form validation me
557557
558558
## State Management
559559
560-
One of the design goals was to create a library that was agnostic to the variety of state management used. I'm not certain that this is an easy target, or one that is achieved entirely, but the current attempt uses a prop on the `Form` component: `stateEngine`. This is an optional prop, and if not passed then `form-and-function` will create its own state engine that uses the internal state of the `Form` component. If supplied, this prop should be an object that fulfils the following interface:
560+
One of the design goals was to create a library that was agnostic to the variety of state management used. I'm not certain that this is an easy target, or one that is achieved entirely, but the current attempt uses a prop on the `Form` component: `stateEngine`. This is an optional prop, and if not passed then `form-and-function` will create its own state engine that uses the internal state of the `Form` component. If supplied, this prop should be an object that fulfills the following interface:
561561

562562
```js
563563
export interface StateEngine<T extends object> {

0 commit comments

Comments
 (0)