Skip to content

Commit

Permalink
Merge pull request #408 from airjp73/migration
Browse files Browse the repository at this point in the history
React 19, React-Router, & one small breaking change
  • Loading branch information
airjp73 authored Dec 18, 2024
2 parents 7edae8b + 0e3753d commit 9017a60
Show file tree
Hide file tree
Showing 328 changed files with 2,580 additions and 5,900 deletions.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ body:
label: Which packages are impacted?
options:
- label: "`@rvf/react`"
- label: "`@rvf/remix`"
- label: "`@rvf/react-router`"
- label: "`@rvf/zod`"
- label: "`@rvf/yup`"
- label: "`zod-form-data`"
Expand All @@ -29,7 +29,7 @@ body:
label: What version of these packages are you using?
placeholder: |
- `@rvf/react`: ^0.0.0
- `@rvf/remix`: ^0.0.0
- `@rvf/react-router`: ^0.0.0
- `@rvf/zod`: ^0.0.0
- `@rvf/yup`: ^0.0.0
- `zod-form-data`: ^0.0.0
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ contact_links:
about: Ask long-form questions and discuss ideas.
- name: 💬 Remix Discord / Community Chat
url: https://rmx.as/discord
about: Interact with other people using Remix 📀
about: Interact with other people using Remix & React Router 📀
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Easy form validation and state management for React.
### Progressively enhanced

RVF leans into native form APIs, so it's easy to add to your existing forms.
It even works without JavaScript on the client if you're using a server-rendered framework like [Remix](https://remix.run).
It even works without JavaScript on the client if you're using a server-rendered framework like [Remix / React Router](https://remix.run).

### Powerful

Expand Down Expand Up @@ -143,14 +143,14 @@ export const ReactExample = () => {
</details>

<details>
<summary>Remix</summary>
<summary>React Router</summary>

```tsx
import {
isValidationErrorResponse,
useForm,
validationError,
} from "@rvf/remix";
} from "@rvf/react-router";
import { withZod } from "@rvf/zod";
import { z } from "zod";
import { MyInput } from "~/fields/MyInput";
Expand Down Expand Up @@ -279,15 +279,15 @@ export const ReactExample = () => {

### Install

RVF can be used with any flavor of React, but there's also an adapter specifically for [Remix](https://remix.run).
RVF can be used with any flavor of React, but there's also an adapter specifically for [React Router](https://remix.run).

- @rvf/remix
- @rvf/react-router
- @rvf/react

For Remix users:
For React Router users:

```bash
npm install @rvf/remix
npm install @rvf/react-router
```

For plain React or other frameworks like Next.js:
Expand Down
5 changes: 0 additions & 5 deletions apps/docs-v2/.gitignore

This file was deleted.

36 changes: 0 additions & 36 deletions apps/docs-v2/README.md

This file was deleted.

18 changes: 0 additions & 18 deletions apps/docs-v2/app/entry.client.tsx

This file was deleted.

140 changes: 0 additions & 140 deletions apps/docs-v2/app/entry.server.tsx

This file was deleted.

56 changes: 0 additions & 56 deletions apps/docs-v2/app/fields/MyInput.tsx

This file was deleted.

Loading

0 comments on commit 9017a60

Please sign in to comment.