Skip to content

Commit

Permalink
docs: typo infact fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dominik-stumpf committed Sep 3, 2023
1 parent 1e5aa83 commit 1611bac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/app/routes/docs/concepts/controllers-and-springs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ However, a `SpringRef` can manage multiple `Controller`s. For more information,
## Controller
So where does the `Controller` come into all this? Well, every "spring" is infact, a `Controller`. Therefore, when you use the
So where does the `Controller` come into all this? Well, every "spring" is in fact, a `Controller`. Therefore, when you use the
hook `useSpring` you initialise a new `Controller` class and when you pass the number X to the `useSprings` hook, you're creating
X amount of `Controller`s.
Expand Down Expand Up @@ -115,7 +115,7 @@ for your animation.
In addition to controlling a "Fluid value" – a value that changes over time (see [Fluids](#fluids) for more information). `SpringValues`
also apply their updates to the `animated node` they're passed to. You might recall if you had read the [animated elements](/docs/concepts/animated-elements)
concept page that on creation of the `animated` component, we convert any `SpringValues` into `AnimatedValues` which seems like a one way direction,
infact we attach this `AnimatedValue` to the original `SpringValue`, which allows the spring to update the animated node (e.g. `<animated.p>`.)
in fact we attach this `AnimatedValue` to the original `SpringValue`, which allows the spring to update the animated node (e.g. `<animated.p>`.)
via the animated value when the `advance` function is called on the `SpringValue` via our `rafz` package. `SpringValue` is able to do this
because it extends the `FrameValue` which is a kind of `FluidValue`.

Expand Down
2 changes: 1 addition & 1 deletion docs/app/routes/docs/guides/testing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ path/to/project/node_modules/@react-spring/web/react-spring-web.esm.js.js:1
```
You may have come across this message when testing with `jest`. If you have, this is because jest
is incorrectly resolving the correct file type for the library. It infact wants to be using the
is incorrectly resolving the correct file type for the library. It in fact wants to be using the
`cjs` file type. To fix this, you can add the following to your `jest.config.js` file:
```ts
Expand Down

0 comments on commit 1611bac

Please sign in to comment.