Skip to content
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
2 changes: 1 addition & 1 deletion docs/framework/angular/guides/arrays.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Finally, you can use a subfield like so:
</ng-container>
```

Where `getPeopleName` is a method on the class like so
Where `getPeopleName` is a method on the class like so:

```typescript
export class AppComponent {
Expand Down
2 changes: 1 addition & 1 deletion docs/framework/lit/guides/arrays.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ return html`
export class TestForm extends LitElement {
#form = new TanStackFormController(this, {
defaultValues: {
people: [] as Array<{ name: string}>,
people: [] as Array<{ name: string }>,
},
});
render() {
Expand Down
2 changes: 1 addition & 1 deletion docs/framework/lit/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export class TestForm extends LitElement {
},
})
render() {
return html` <p>Please enter your first name></p>
return html` <p>Please enter your first name</p>
${this.#form.field(
{
name: `firstName`,
Expand Down
2 changes: 1 addition & 1 deletion docs/framework/react/guides/async-initial-values.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default function App() {
},
})

if (isLoading) return <p>Loading..</p>
if (isLoading) return <p>Loading...</p>

return (
// ...
Expand Down
2 changes: 1 addition & 1 deletion docs/framework/react/guides/debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ If you see this error in the console when running `tsc`:
Type instantiation is excessively deep and possibly infinite
```

You've ran into a bug that we didn't catch in our type definitions. While we've done our best to make sure our types are as accurate as possible, there are some edge cases where TypeScript struggled with the complexity of our types.
You've run into a bug that we didn't catch in our type definitions. While we've done our best to make sure our types are as accurate as possible, there are some edge cases where TypeScript struggled with the complexity of our types.

Please [report this issue to us on GitHub](https://github.com/TanStack/form/issues) so we can fix it. Just make sure to include a minimal reproduction so that we're able to help you debug.

Expand Down
4 changes: 2 additions & 2 deletions docs/framework/react/guides/ssr.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ Finally, we'll use `someAction` in our client-side form component.

import { useActionState } from 'react'
import {
initialFormState
initialFormState,
mergeForm,
useForm,
useStore,
Expand Down Expand Up @@ -412,7 +412,7 @@ Finally, the `action` will be called when the form submits.
import {
Form,
mergeForm,
useActionData
useActionData,
useForm,
useStore,
useTransform,
Expand Down
2 changes: 1 addition & 1 deletion docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,4 @@ $ bun add @tanstack/svelte-form
$ yarn add @tanstack/svelte-form
```

> Depending on your environment, you might need to add polyfills. If you want to support older browsers, you need to transpile the library from `node_modules` yourselves.
> Depending on your environment, you might need to add polyfills. If you want to support older browsers, you need to transpile the library from `node_modules` yourself.
4 changes: 2 additions & 2 deletions docs/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export default function App() {
}}
>
<div>
{/* A type-safe field component*/}
{/* A type-safe field component */}
<form.Field
name="firstName"
validators={{
Expand Down Expand Up @@ -139,4 +139,4 @@ createRoot(rootElement).render(<App />)

## You talked me into it, so what now?

- Learn TanStack Form at your own pace with our thorough [Walkthrough Guide](./installation) and [API Reference](./reference/classes/FormApi)
- Learn TanStack Form at your own pace with our thorough [Walkthrough Guide](./installation) and [API Reference](./reference/classes/FormApi).
2 changes: 1 addition & 1 deletion docs/philosophy.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ As a result, TanStack Form supports multiple methods for validation:

## Controlled is Cool

In a world where controlled vs uncontrolled inputs are a hot topic, TanStack Form is firmly in the controlled camp.
In a world where controlled vs. uncontrolled inputs are a hot topic, TanStack Form is firmly in the controlled camp.

This comes with a number of advantages:

Expand Down
2 changes: 1 addition & 1 deletion docs/typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ id: typescript
title: TypeScript
---

TanStack Form is written 100% in **TypeScript** with the highest quality generics, constraints and interfaces to make sure the library and your projects are as type-safe as possible!
TanStack Form is written 100% in **TypeScript** with the highest quality generics, constraints, and interfaces to make sure the library and your projects are as type-safe as possible!

Things to keep in mind:

Expand Down