Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: typo infact fix #2196

Merged
merged 1 commit into from
Sep 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading